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 | 8857381856cbc12fb8dab9141abd67c3af874e55 (patch) | |
tree | 2c2d97471aa763c92f913b1ca675eebd29199c78 /include/prereq-build.mk | |
parent | c38691f291066f42000232a42521167ec5374f91 (diff) | |
download | mtk-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.mk | 8 |
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. \ +)) |