From 47ac52a7c443ef065c9a35db34712e382d364986 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Sat, 3 Dec 2022 15:25:12 +0100 Subject: 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 (cherry picked from commit 17c6fb1054e3dde8fa573195acaac42a5edf0942) --- target/linux/ath79/image/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'target/linux/ath79') 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 -- cgit v1.2.3