aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2007-04-12 18:17:38 +0000
committerMike Baker <mbm@openwrt.org>2007-04-12 18:17:38 +0000
commit8857381856cbc12fb8dab9141abd67c3af874e55 (patch)
tree2c2d97471aa763c92f913b1ca675eebd29199c78 /include
parentc38691f291066f42000232a42521167ec5374f91 (diff)
downloadupstream-8857381856cbc12fb8dab9141abd67c3af874e55.tar.gz
upstream-8857381856cbc12fb8dab9141abd67c3af874e55.tar.bz2
upstream-8857381856cbc12fb8dab9141abd67c3af874e55.zip
prereq check for find -exec +
SVN-Revision: 6940
Diffstat (limited to 'include')
-rw-r--r--include/prereq-build.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/prereq-build.mk b/include/prereq-build.mk
index d3aec64399..7355b9e31c 100644
--- a/include/prereq-build.mk
+++ b/include/prereq-build.mk
@@ -121,3 +121,11 @@ $(eval $(call Require,gnutar, \
$(eval $(call RequireCommand,autoconf, \
Please install GNU autoconf. \
))
+
+define Require/find
+ find . -maxdepth 1 -exec ls {} + > /dev/null 2>&1
+endef
+
+$(eval $(call Require,find, \
+ Please install GNU find 4.2.12 or better. \
+))