Merge pull request #7115 from TDT-AG/pr/20240510-luci-base

luci-base: add PKG_LICENSE_FILES references to this packages
This commit is contained in:
Florian Eckert 2024-12-02 08:35:39 +01:00 committed by GitHub
commit b1968d9cdd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

View File

@ -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

View File

@ -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