From 37657a06c035d9b3590eb529b8968c48578fb72d Mon Sep 17 00:00:00 2001
From: nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Tue, 11 Dec 2007 22:28:10 +0000
Subject: add prereq check for gnu find

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9710 3c298f89-4303-0410-b956-a3cf2f4a3e73
---
 include/prereq-build.mk | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/include/prereq-build.mk b/include/prereq-build.mk
index 11ee111ce..b0114f0b9 100644
--- a/include/prereq-build.mk
+++ b/include/prereq-build.mk
@@ -123,3 +123,10 @@ $(eval $(call RequireCommand,autoconf, \
 	Please install GNU autoconf. \
 ))
 
+define Require/gnu-find
+	$(FIND) $(TMP_DIR) -lname foo
+endef
+
+$(eval $(call Require,gnu-find, \
+	Please install GNU find \
+))
-- 
cgit v1.2.3