aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-08-12 11:53:23 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-08-12 11:53:23 +0000
commit0860346ff09bc4310ff9272578d1941a0abf01e4 (patch)
tree38f02b7ed6568d208e8c45b50045738cca0eae77
parent3ee29a8f6029ea0063eaa234e400b7f96b669258 (diff)
downloadupstream-0860346ff09bc4310ff9272578d1941a0abf01e4.tar.gz
upstream-0860346ff09bc4310ff9272578d1941a0abf01e4.tar.bz2
upstream-0860346ff09bc4310ff9272578d1941a0abf01e4.zip
Add a requireheader for squid, should fix it (#2205)
SVN-Revision: 8404
-rw-r--r--include/prereq.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/prereq.mk b/include/prereq.mk
index 660f67cb1b..8e5490ccff 100644
--- a/include/prereq.mk
+++ b/include/prereq.mk
@@ -47,4 +47,12 @@ define RequireCommand
$$(eval $$(call Require,$(1),$(2)))
endef
+define RequireHeader
+ define Require/$(1)
+ [ -e "$(1)" ]
+ endef
+
+ $$(eval $$(call Require,$(1),$(2)))
+endef
+
.NOTPARALLEL: