summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 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. \
+))