summaryrefslogtreecommitdiff
path: root/include/prereq-build.mk
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/prereq-build.mk
parentc38691f291066f42000232a42521167ec5374f91 (diff)
downloadmtk-20170518-8857381856cbc12fb8dab9141abd67c3af874e55.zip
mtk-20170518-8857381856cbc12fb8dab9141abd67c3af874e55.tar.gz
mtk-20170518-8857381856cbc12fb8dab9141abd67c3af874e55.tar.bz2
prereq check for find -exec +
SVN-Revision: 6940
Diffstat (limited to 'include/prereq-build.mk')
-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 d3aec64..7355b9e 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. \
+))