From fb279a0a25e59ac8bc18a127d7e6aaba7349c623 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Thu, 18 Apr 2024 13:46:24 +0200 Subject: luci-base: add additional prepare handling for the licenses files Copy the licenses file for luci into the build tree for further processing. This is achieved by the new additional prepare handling, that was added with commit '3b135c381cd5e5efd10353b76344e33e5230c870'. Signed-off-by: Florian Eckert --- modules/luci-base/Makefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'modules/luci-base') diff --git a/modules/luci-base/Makefile b/modules/luci-base/Makefile index 789e6a4bf6..856e4d186a 100644 --- a/modules/luci-base/Makefile +++ b/modules/luci-base/Makefile @@ -52,6 +52,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 -- cgit v1.2.3 From 611ff53c736b968328515e1cc6e0baeb18b66b2c Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Thu, 18 Apr 2024 12:39:20 +0200 Subject: luci-base: add missing PKG_LICENSE_FILES info The 'luci-base' package is the base package that must always be installed when the LuCI is used. Therefore, according to the license, the license files used by the LuCI must be referenced there. Signed-off-by: Florian Eckert --- modules/luci-base/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/luci-base') diff --git a/modules/luci-base/Makefile b/modules/luci-base/Makefile index 856e4d186a..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) -- cgit v1.2.3