diff options
author | Florian Fainelli <florian@openwrt.org> | 2007-08-12 11:53:23 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2007-08-12 11:53:23 +0000 |
commit | 0860346ff09bc4310ff9272578d1941a0abf01e4 (patch) | |
tree | 38f02b7ed6568d208e8c45b50045738cca0eae77 | |
parent | 3ee29a8f6029ea0063eaa234e400b7f96b669258 (diff) | |
download | mtk-20170518-0860346ff09bc4310ff9272578d1941a0abf01e4.zip mtk-20170518-0860346ff09bc4310ff9272578d1941a0abf01e4.tar.gz mtk-20170518-0860346ff09bc4310ff9272578d1941a0abf01e4.tar.bz2 |
Add a requireheader for squid, should fix it (#2205)
SVN-Revision: 8404
-rw-r--r-- | include/prereq.mk | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/prereq.mk b/include/prereq.mk index 660f67c..8e5490c 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: |