From: Florian Eckert Date: Thu, 18 Apr 2024 11:39:33 +0000 (+0200) Subject: luci-base: Extending packages prepare handling X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=f17fa682d1566ec1a2abdfb0846a06084b8ead90;p=project%2Fluci.git 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 --- 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