aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-11-06 03:31:35 -0500
committerSam Ravnborg <sam@ravnborg.org>2008-12-03 15:32:01 -0500
commitfd54f502841c1caa7cfd5af564aad1bd017371fa (patch)
treed45bc3583946387722d3aa587a82213961e0befe /Makefile
parent5410ecc0def8955ab99810c5626cc7e156991896 (diff)
kbuild: use KECHO convenience echo
Convert a few echos in the build system to new $(kecho) so we get correct output according to build verbosity. Signed-off-by: Mike Frysinger <vapier@gentoo.org> [sam: added kecho in a few more places for O=... builds] Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 307558621913..3a6ac688f38d 100644
--- a/Makefile
+++ b/Makefile
@@ -926,7 +926,7 @@ PHONY += prepare archprepare prepare0 prepare1 prepare2 prepare3
926# 2) Create the include2 directory, used for the second asm symlink 926# 2) Create the include2 directory, used for the second asm symlink
927prepare3: include/config/kernel.release 927prepare3: include/config/kernel.release
928ifneq ($(KBUILD_SRC),) 928ifneq ($(KBUILD_SRC),)
929 @echo ' Using $(srctree) as source for kernel' 929 @$(kecho) ' Using $(srctree) as source for kernel'
930 $(Q)if [ -f $(srctree)/.config -o -d $(srctree)/include/config ]; then \ 930 $(Q)if [ -f $(srctree)/.config -o -d $(srctree)/include/config ]; then \
931 echo " $(srctree) is not clean, please run 'make mrproper'";\ 931 echo " $(srctree) is not clean, please run 'make mrproper'";\
932 echo " in the '$(srctree)' directory.";\ 932 echo " in the '$(srctree)' directory.";\
@@ -983,7 +983,7 @@ endef
983# directory for generated filesas used by some architectures. 983# directory for generated filesas used by some architectures.
984define create-symlink 984define create-symlink
985 if [ ! -L include/asm ]; then \ 985 if [ ! -L include/asm ]; then \
986 echo ' SYMLINK $@ -> include/asm-$(SRCARCH)'; \ 986 $(kecho) ' SYMLINK $@ -> include/asm-$(SRCARCH)'; \
987 if [ ! -d include/asm-$(SRCARCH) ]; then \ 987 if [ ! -d include/asm-$(SRCARCH) ]; then \
988 mkdir -p include/asm-$(SRCARCH); \ 988 mkdir -p include/asm-$(SRCARCH); \
989 fi; \ 989 fi; \
@@ -1096,7 +1096,7 @@ all: modules
1096PHONY += modules 1096PHONY += modules
1097modules: $(vmlinux-dirs) $(if $(KBUILD_BUILTIN),vmlinux) 1097modules: $(vmlinux-dirs) $(if $(KBUILD_BUILTIN),vmlinux)
1098 $(Q)$(AWK) '!x[$$0]++' $(vmlinux-dirs:%=$(objtree)/%/modules.order) > $(objtree)/modules.order 1098 $(Q)$(AWK) '!x[$$0]++' $(vmlinux-dirs:%=$(objtree)/%/modules.order) > $(objtree)/modules.order
1099 @echo ' Building modules, stage 2.'; 1099 @$(kecho) ' Building modules, stage 2.';
1100 $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost 1100 $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost
1101 $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.fwinst obj=firmware __fw_modbuild 1101 $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.fwinst obj=firmware __fw_modbuild
1102 1102
@@ -1360,7 +1360,7 @@ $(module-dirs): crmodverdir $(objtree)/Module.symvers
1360 $(Q)$(MAKE) $(build)=$(patsubst _module_%,%,$@) 1360 $(Q)$(MAKE) $(build)=$(patsubst _module_%,%,$@)
1361 1361
1362modules: $(module-dirs) 1362modules: $(module-dirs)
1363 @echo ' Building modules, stage 2.'; 1363 @$(kecho) ' Building modules, stage 2.';
1364 $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost 1364 $(Q)$(MAKE) -f $(srctree)/scripts/Makefile.modpost
1365 1365
1366PHONY += modules_install 1366PHONY += modules_install