Просмотр исходного кода

quilt: make it possible to override the path to getopt (based on patch from #9842)

SVN-Revision: 27852
Felix Fietkau 14 лет назад
Родитель
Сommit
5ee5f0d314
1 измененных файлов с 4 добавлено и 1 удалено
  1. 4 1
      tools/quilt/Makefile

+ 4 - 1
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