summaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-02-08 06:05:52 +0100
committerSam Ravnborg <sam@ravnborg.org>2008-02-09 10:43:58 +0100
commitd75f4c683f817ef61c9ae634886e7ebc3133c002 (patch)
tree568d266eddbadcd91c7e5358ba7b91f8561da631 /init
parentscsi: fix makefile for aic7(3*x) (diff)
downloadlinux-d75f4c683f817ef61c9ae634886e7ebc3133c002.tar.xz
linux-d75f4c683f817ef61c9ae634886e7ebc3133c002.zip
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)"