projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e35e421
)
Add a requireheader for squid, should fix it (#2205)
author
Florian Fainelli
<florian@openwrt.org>
Sun, 12 Aug 2007 11:53:23 +0000
(11:53 +0000)
committer
Florian Fainelli
<florian@openwrt.org>
Sun, 12 Aug 2007 11:53:23 +0000
(11:53 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8404
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
include/prereq.mk
patch
|
blob
|
history
diff --git
a/include/prereq.mk
b/include/prereq.mk
index
660f67c
..
8e5490c
100644
(file)
--- 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: