Skip to content

Commit

Permalink
Merge pull request #7115 from TDT-AG/pr/20240510-luci-base
Browse files Browse the repository at this point in the history
luci-base: add PKG_LICENSE_FILES references to this packages
  • Loading branch information
feckert authored Dec 2, 2024
2 parents b4d61a3 + 611ff53 commit b1968d9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions luci.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 6 additions & 0 deletions modules/luci-base/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand All @@ -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
Expand Down

0 comments on commit b1968d9

Please sign in to comment.