summaryrefslogtreecommitdiffstats
path: root/tools/quilt
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-07-31 17:59:35 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2011-07-31 17:59:35 +0000
commit38aecdc0191f7b83db1d7652b733a41b7bad3686 (patch)
treebd910db24ca1bd9959a1bd99293402d1c832918b /tools/quilt
parent7d2820a43964e4416c5ce1d6d38ea95248a9e93c (diff)
quilt: make it possible to override the path to getopt (based on patch from #9842)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27852 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'tools/quilt')
-rw-r--r--tools/quilt/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/quilt/Makefile b/tools/quilt/Makefile
index 0ed5d064b..510d8f6fd 100644
--- a/tools/quilt/Makefile
+++ b/tools/quilt/Makefile
@@ -15,9 +15,12 @@ PKG_MD5SUM:=f77adda60039ffa753f3c584a286f12b
include $(INCLUDE_DIR)/host-build.mk
+GETOPT:=$(shell which getopt)
+
HOST_CONFIGURE_ARGS += \
--with-patch=$(PATCH) \
- --with-find=$(FIND)
+ --with-find=$(FIND) \
+ --with-getopt=$(GETOPT)
define Host/Configure
cd $(HOST_BUILD_DIR) && autoconf