mirror of
https://github.com/openwrt/luci
synced 2025-01-07 03:27:12 +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/; \
|
$(CP) ./$$$$d/* $(PKG_BUILD_DIR)/$$$$d/; \
|
||||||
fi; \
|
fi; \
|
||||||
done
|
done
|
||||||
|
$(call Build/Prepare/$(LUCI_NAME))
|
||||||
$(call Build/Prepare/Default)
|
$(call Build/Prepare/Default)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
@ -28,6 +28,7 @@ LUCI_DEPENDS:=\
|
|||||||
+liblucihttp-ucode
|
+liblucihttp-ucode
|
||||||
|
|
||||||
PKG_LICENSE:=Apache-2.0
|
PKG_LICENSE:=Apache-2.0
|
||||||
|
PKG_LICENSE_FILES:=LICENSE NOTICE
|
||||||
|
|
||||||
HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/$(PKG_NAME)
|
HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/$(PKG_NAME)
|
||||||
|
|
||||||
@ -52,6 +53,11 @@ fi
|
|||||||
exit 0
|
exit 0
|
||||||
endef
|
endef
|
||||||
|
|
||||||
|
define Build/Prepare/luci-base
|
||||||
|
$(CP) ../../NOTICE $(PKG_BUILD_DIR)
|
||||||
|
$(CP) ../../LICENSE $(PKG_BUILD_DIR)
|
||||||
|
endef
|
||||||
|
|
||||||
include ../../luci.mk
|
include ../../luci.mk
|
||||||
|
|
||||||
define Host/Configure
|
define Host/Configure
|
||||||
|
Loading…
Reference in New Issue
Block a user