1 --- klibc-1.5.19/scripts/Kbuild.include.orig 2010-08-19 09:39:45.986816591 +0200
2 +++ klibc-1.5.19/scripts/Kbuild.include 2010-08-19 09:49:15.010816591 +0200
4 # >'< substitution is for echo to work, >$< substitution to preserve $ when reloading .cmd file
5 # note: when using inline perl scripts [perl -e '...$$t=1;...'] in $(cmd_xxx) double $$ your perl vars
7 -if_changed = $(if $(strip $(filter-out $(PHONY),$?) \
8 +if_changed = $(if $(strip $(filter-out $(PHONY) FORCE,$?) \
9 $(call arg-check, $(cmd_$(1)), $(cmd_$@)) ), \
11 $(echo-cmd) $(cmd_$(1)); \
14 # execute the command and also postprocess generated .d dependencies
16 -if_changed_dep = $(if $(strip $(filter-out $(PHONY),$?) \
17 +if_changed_dep = $(if $(strip $(filter-out $(PHONY) FORCE,$?) \
18 $(filter-out FORCE $(wildcard $^),$^) \
19 $(call arg-check, $(cmd_$(1)), $(cmd_$@)) ), \
22 # Usage: $(call if_changed_rule,foo)
23 # will check if $(cmd_foo) changed, or any of the prequisites changed,
24 # and if so will execute $(rule_foo)
25 -if_changed_rule = $(if $(strip $(filter-out $(PHONY),$?) \
26 +if_changed_rule = $(if $(strip $(filter-out $(PHONY) FORCE,$?) \
27 $(call arg-check, $(cmd_$(1)), $(cmd_$@)) ),\