diff --git a/luci.mk b/luci.mk index 2d393caea6..72b822d2bf 100644 --- a/luci.mk +++ b/luci.mk @@ -174,6 +174,7 @@ define Build/Prepare $(CP) ./$$$$d/* $(PKG_BUILD_DIR)/$$$$d/; \ fi; \ done + $(call Build/Prepare/$(LUCI_NAME)) $(call Build/Prepare/Default) endef diff --git a/modules/luci-base/Makefile b/modules/luci-base/Makefile index 789e6a4bf6..d9832e3393 100644 --- a/modules/luci-base/Makefile +++ b/modules/luci-base/Makefile @@ -28,6 +28,7 @@ LUCI_DEPENDS:=\ +liblucihttp-ucode PKG_LICENSE:=Apache-2.0 +PKG_LICENSE_FILES:=LICENSE NOTICE HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/$(PKG_NAME) @@ -52,6 +53,11 @@ fi exit 0 endef +define Build/Prepare/luci-base + $(CP) ../../NOTICE $(PKG_BUILD_DIR) + $(CP) ../../LICENSE $(PKG_BUILD_DIR) +endef + include ../../luci.mk define Host/Configure