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@fe80.eu>
This commit is contained in:
Alexander Couzens 2022-12-03 15:25:12 +01:00 committed by Daniel Golle
parent 1bff0752bd
commit 17c6fb1054

View File

@ -83,7 +83,7 @@ define Device/loader-okli-uimage
LOADER_TYPE := bin LOADER_TYPE := bin
COMPILE := loader-$(1).bin loader-$(1).uImage COMPILE := loader-$(1).bin loader-$(1).uImage
COMPILE/loader-$(1).bin := loader-okli-compile 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 lzma | uImage lzma
endef endef