asterisk-1.8.x-mod: Makefile: Use menuselect when configuring if required

This commit is contained in:
Patrik Stridvall 2016-03-21 13:43:52 +01:00
parent 27f11d321d
commit 01e874d94b

View file

@ -410,6 +410,10 @@ endef
define Build/Configure
-rm $(PKG_BUILD_DIR)/menuselect.makeopts
$(call Build/Configure/Default,,$(SITE_VARS))
if test -n "$(MENUSELECT_ARGS)" ; then \
$(MAKE) -C "$(PKG_BUILD_DIR)" menuselect.makeopts ; \
(cd $(PKG_BUILD_DIR) && ./menuselect/menuselect $(MENUSELECT_ARGS)) ; \
fi
endef
define Build/Compile