summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-02-08 08:05:52 +0300
committerSam Ravnborg <sam@ravnborg.org>2008-02-09 12:43:58 +0300
commitd75f4c683f817ef61c9ae634886e7ebc3133c002 (patch)
tree568d266eddbadcd91c7e5358ba7b91f8561da631 /init
parenta3eadd7cb00f39f6fd4bbaf414dfde547b8c0899 (diff)
downloadlinux-d75f4c683f817ef61c9ae634886e7ebc3133c002.tar.xz
kbuild: silence CHK/UPD messages according to $(quiet)
Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'init')
-rw-r--r--init/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/init/Makefile b/init/Makefile
index 633392f5cdee..c5f157ce293e 100644
--- a/init/Makefile
+++ b/init/Makefile
@@ -27,7 +27,9 @@ $(obj)/version.o: include/linux/compile.h
# mkcompile_h will make sure to only update the
# actual file if its content has changed.
+ quiet_chk_compile.h = echo ' CHK $@'
+silent_chk_compile.h = :
include/linux/compile.h: FORCE
- @echo ' CHK $@'
+ @$($(quiet)chk_compile.h)
$(Q)$(CONFIG_SHELL) $(srctree)/scripts/mkcompile_h $@ \
"$(UTS_MACHINE)" "$(CONFIG_SMP)" "$(CONFIG_PREEMPT)" "$(CC) $(KBUILD_CFLAGS)"