From: Mike Baker Date: Thu, 12 Apr 2007 18:17:38 +0000 (+0000) Subject: prereq check for find -exec + X-Git-Tag: reboot~29454 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8857381856cbc12fb8dab9141abd67c3af874e55;p=openwrt%2Fstaging%2Fblogic.git prereq check for find -exec + SVN-Revision: 6940 --- diff --git a/include/prereq-build.mk b/include/prereq-build.mk index d3aec643999c..7355b9e31c1e 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. \ +))