diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-11-06 09:31:35 +0100 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2008-12-03 21:32:01 +0100 |
commit | fd54f502841c1caa7cfd5af564aad1bd017371fa (patch) | |
tree | d45bc3583946387722d3aa587a82213961e0befe /scripts/Kbuild.include | |
parent | kbuild: introduce $(kecho) convenience echo (diff) | |
download | linux-fd54f502841c1caa7cfd5af564aad1bd017371fa.tar.xz linux-fd54f502841c1caa7cfd5af564aad1bd017371fa.zip |
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 'scripts/Kbuild.include')
-rw-r--r-- | scripts/Kbuild.include | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include index 8cf87e815e51..c29be8f90248 100644 --- a/scripts/Kbuild.include +++ b/scripts/Kbuild.include @@ -46,22 +46,15 @@ kecho := $($(quiet)kecho) # - If they are equal no change, and no timestamp update # - stdin is piped in from the first prerequisite ($<) so one has # to specify a valid file as first prerequisite (often the kbuild file) - chk_filechk = : - quiet_chk_filechk = echo ' CHK $@' -silent_chk_filechk = : - upd_filechk = : - quiet_upd_filechk = echo ' UPD $@' -silent_upd_filechk = : - define filechk $(Q)set -e; \ - $($(quiet)chk_filechk); \ + $(kecho) ' CHK $@'; \ mkdir -p $(dir $@); \ $(filechk_$(1)) < $< > $@.tmp; \ if [ -r $@ ] && cmp -s $@ $@.tmp; then \ rm -f $@.tmp; \ else \ - $($(quiet)upd_filechk); \ + $(kecho) ' UPD $@'; \ mv -f $@.tmp $@; \ fi endef |