luci.mk: allow specifying EXTRA_DEPENDS
authorJo-Philipp Wich <jo@mein.io>
Mon, 1 Jan 2018 15:32:54 +0000 (16:32 +0100)
committerJo-Philipp Wich <jo@mein.io>
Mon, 1 Jan 2018 16:10:31 +0000 (17:10 +0100)
Support a new varable LUCI_EXTRA_DEPENDS which can be used to pass
OpenWrt EXTRA_DEPENDS to buildroot.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
luci.mk

diff --git a/luci.mk b/luci.mk
index 0b2ec4e7000cf87f6e0d3c257cd0b534814e8d3e..cc39c0f4c8eb62086f8fdb1762e06d1a976cb357 100644 (file)
--- a/luci.mk
+++ b/luci.mk
@@ -96,6 +96,7 @@ define Package/$(PKG_NAME)
   SUBMENU:=$(if $(LUCI_MENU.$(LUCI_TYPE)),$(LUCI_MENU.$(LUCI_TYPE)),$(LUCI_MENU.app))
   TITLE:=$(if $(LUCI_TITLE),$(LUCI_TITLE),LuCI $(LUCI_NAME) $(LUCI_TYPE))
   DEPENDS:=$(LUCI_DEPENDS)
+  $(if $(LUCI_EXTRA_DEPENDS),EXTRA_DEPENDS:=$(LUCI_EXTRA_DEPENDS))
   $(if $(LUCI_PKGARCH),PKGARCH:=$(LUCI_PKGARCH))
 endef