add prereq check for gnu find
authorFelix Fietkau <nbd@openwrt.org>
Tue, 11 Dec 2007 22:28:10 +0000 (22:28 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 11 Dec 2007 22:28:10 +0000 (22:28 +0000)
SVN-Revision: 9710

include/prereq-build.mk

index 11ee111..b0114f0 100644 (file)
@@ -123,3 +123,10 @@ $(eval $(call RequireCommand,autoconf, \
        Please install GNU autoconf. \
 ))
 
+define Require/gnu-find
+       $(FIND) $(TMP_DIR) -lname foo
+endef
+
+$(eval $(call Require,gnu-find, \
+       Please install GNU find \
+))