From: Florian Fainelli Date: Sun, 12 Aug 2007 11:53:23 +0000 (+0000) Subject: Add a requireheader for squid, should fix it (#2205) X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=0860346ff09bc4310ff9272578d1941a0abf01e4;p=openwrt%2Fstaging%2Fjow.git Add a requireheader for squid, should fix it (#2205) SVN-Revision: 8404 --- 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: