46cedb5e3a41d7b99ea9fcae9b690e2f2dcd3151
[packages/klibc.git] / klibc-make.patch
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
3 @@ -127,7 +127,7 @@
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
6  #
7 -if_changed = $(if $(strip $(filter-out $(PHONY),$?)          \
8 +if_changed = $(if $(strip $(filter-out $(PHONY) FORCE,$?)          \
9                 $(call arg-check, $(cmd_$(1)), $(cmd_$@)) ), \
10         @set -e; \
11         $(echo-cmd) $(cmd_$(1)); \
12 @@ -135,7 +135,7 @@
13  
14  # execute the command and also postprocess generated .d dependencies
15  # file
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_$@)) ),     \
20         @set -e; \
21 @@ -147,7 +147,7 @@
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_$@)) ),\
28                         @set -e; \
29                         $(rule_$(1)))
This page took 0.035709 seconds and 2 git commands to generate.