X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/196ad55bd2bdad8c5c86249afd4b1cec04855d35..b1b2e82b21ed02d5b02b21c4735c0a9aa46f3f9c:/include/prereq.mk diff --git a/include/prereq.mk b/include/prereq.mk index 660f67cb1..8e5490ccf 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: