mirror of
https://github.com/openwrt/luci
synced 2025-01-05 10:37:19 +08:00
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:
commit
b1968d9cdd
1
luci.mk
1
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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user