[openwrt/openwrt] package: fix key creation for SDK

LEDE Commits lede-commits at lists.infradead.org
Mon Oct 28 16:08:44 PDT 2024


ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/408eab55ee0abddd972e3fa7341869dff0794000

commit 408eab55ee0abddd972e3fa7341869dff0794000
Author: Paul Spooren <mail at aparcar.org>
AuthorDate: Mon Oct 28 22:33:48 2024 +0100

    package: fix key creation for SDK
    
    Prior to this commit keys would only be generated if `make` is called
    alone, but not for something like `make package/busybox/compile`.
    
    The exact reasons are in the depth of make magic, so this is sheer luck!
    
    Signed-off-by: Paul Spooren <mail at aparcar.org>
---
 package/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/Makefile b/package/Makefile
index 70897271ac..9ae94e9a4e 100644
--- a/package/Makefile
+++ b/package/Makefile
@@ -87,7 +87,7 @@ else
 endif
 else
 ifneq ($(CONFIG_USE_APK),)
-  $(curdir)/compile: $(BUILD_KEY_APK_SEC) $(BUILD_KEY_APK_PUB)
+  $(curdir)//compile += $(BUILD_KEY_APK_SEC) $(BUILD_KEY_APK_PUB)
 endif
 endif
 




More information about the lede-commits mailing list