luci-base: add additional prepare handling for the licenses files
authorFlorian Eckert <fe@dev.tdt.de>
Thu, 18 Apr 2024 11:46:24 +0000 (13:46 +0200)
committerFlorian Eckert <fe@dev.tdt.de>
Fri, 10 May 2024 08:27:14 +0000 (10:27 +0200)
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 <fe@dev.tdt.de>
modules/luci-base/Makefile

index 789e6a4bf6fa2c5846e8e36b754cfc4f3e4fb588..856e4d186a37c26cd6001fa4858a588a4459995f 100644 (file)
@@ -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