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 11ee111ced333dcc6286e9df3089c66a9ad8cb96..b0114f0b9e0a9b4e3a75e040c2de546afcda1496 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 \
+))