summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-04-12 18:17:38 +0000
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>2007-04-12 18:17:38 +0000
commit270fe35d13f87ccf41feef8642c47a968a480a37 (patch)
tree71fc3f7d313076888354a44251fba5c65d89f462
parent80f367f6f1397da8b04bb488a9fc4ed91ddef208 (diff)
prereq check for find -exec +
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6940 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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. \
+))