prereq check for find -exec +
authormbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 12 Apr 2007 18:17:38 +0000 (18:17 +0000)
committermbm <mbm@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 12 Apr 2007 18:17:38 +0000 (18:17 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6940 3c298f89-4303-0410-b956-a3cf2f4a3e73

include/prereq-build.mk

index d3aec64..7355b9e 100644 (file)
@@ -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. \
+))
This page took 0.022917 seconds and 4 git commands to generate.