From: Alexander Couzens Date: Sat, 3 Dec 2022 14:25:12 +0000 (+0100) Subject: ath79: image: don't depend on other COMPILE targets X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=17c6fb1054e3dde8fa573195acaac42a5edf0942;p=openwrt%2Fstaging%2Fdedeckeh.git 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 --- 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