[openwrt/openwrt] ath79: image: don't depend on other COMPILE targets

LEDE Commits lede-commits at lists.infradead.org
Mon Dec 19 04:33:39 PST 2022


dangole pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/17c6fb1054e3dde8fa573195acaac42a5edf0942

commit 17c6fb1054e3dde8fa573195acaac42a5edf0942
Author: Alexander Couzens <lynxis at fe80.eu>
AuthorDate: Sat Dec 3 15:25:12 2022 +0100

    ath79: image: don't depend on other COMPILE targets
    
    A device COMPILE target should not depend on another COMPILE.
    Otherwise race condition may happen.
    The loader is very small. Compiling it twice shouldn't
    have a huge impact.
    
    Signed-off-by: Alexander Couzens <lynxis at fe80.eu>
---
 target/linux/ath79/image/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/linux/ath79/image/Makefile b/target/linux/ath79/image/Makefile
index 712ab941e1..8328be7667 100644
--- a/target/linux/ath79/image/Makefile
+++ b/target/linux/ath79/image/Makefile
@@ -83,7 +83,7 @@ define Device/loader-okli-uimage
   LOADER_TYPE := bin
   COMPILE := loader-$(1).bin loader-$(1).uImage
   COMPILE/loader-$(1).bin := loader-okli-compile
-  COMPILE/loader-$(1).uImage := append-loader-okli $(1) | pad-to 64k | \
+  COMPILE/loader-$(1).uImage := loader-okli-compile | pad-to 64k | \
 	lzma | uImage lzma
 endef
 




More information about the lede-commits mailing list