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

LEDE Commits lede-commits at lists.infradead.org
Wed Dec 21 15:48:29 PST 2022


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-22.03:
https://git.openwrt.org/47ac52a7c443ef065c9a35db34712e382d364986

commit 47ac52a7c443ef065c9a35db34712e382d364986
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>
    (cherry picked from commit 17c6fb1054e3dde8fa573195acaac42a5edf0942)
---
 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