Add a requireheader for squid, should fix it (#2205)
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Sun, 12 Aug 2007 11:53:23 +0000 (11:53 +0000)
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>
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

index 660f67c..8e5490c 100644 (file)
@@ -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:
This page took 0.024199 seconds and 4 git commands to generate.