X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=scripts%2FKbuild.include;h=c29be8f902488f6175e584f97b2c8c873036d4b2;hb=9ed55375919bc30c448c6dd5107e8d593f96856f;hp=8cf87e815e51feb9517a7099a25b288fbc2cd9b1;hpb=5410ecc0def8955ab99810c5626cc7e156991896;p=~andy%2Flinux diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include index 8cf87e815e5..c29be8f9024 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