diff options
author | Mike Baker <mbm@openwrt.org> | 2007-04-12 18:17:38 +0000 |
---|---|---|
committer | Mike Baker <mbm@openwrt.org> | 2007-04-12 18:17:38 +0000 |
commit | 9767c1a7e0f1a71662de8d50bbca239241809656 (patch) | |
tree | 71fc3f7d313076888354a44251fba5c65d89f462 | |
parent | 7fbae2f84f0d2ba6e58ebc3b30a36d4a15326bc3 (diff) | |
download | upstream-9767c1a7e0f1a71662de8d50bbca239241809656.tar.gz upstream-9767c1a7e0f1a71662de8d50bbca239241809656.tar.bz2 upstream-9767c1a7e0f1a71662de8d50bbca239241809656.zip |
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.mk | 8 |
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. \ +)) |