From f17fa682d1566ec1a2abdfb0846a06084b8ead90 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Thu, 18 Apr 2024 13:39:33 +0200 Subject: [PATCH] luci-base: Extending packages prepare handling With this change, packages that do not have the source files in the generic location (luasrc,ucode,htdocs,root,src) can still copy there build files into the build directory if they add the following make target 'Build/Prepare/' to the Makefile. Signed-off-by: Florian Eckert --- luci.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/luci.mk b/luci.mk index b5bd6fcd13..ceb4903f78 100644 --- a/luci.mk +++ b/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 -- 2.30.2