SPL_FIT_GENERATOR may need to access u-boot binaries for generating
u-boot.its file. For example arch/arm/mach-rockchip/make_fit_atf.py
requires u-boot elf. Add u-boot-nodtb.bin as dependency for
U_BOOT_ITS so that u-boot binaries are available when
SPL_FIT_GENERATOR is run with parallel make.

Suggested-by: Petr Tesarik <ptesa...@suse.com>
Signed-off-by: Mian Yousaf Kaukab <yousaf.kau...@suse.com>
---
 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index d08fb6a54d..54557d62b8 100644
--- a/Makefile
+++ b/Makefile
@@ -1060,7 +1060,7 @@ U_BOOT_ITS = $(subst ",,$(CONFIG_SPL_FIT_SOURCE))
 else
 ifneq ($(CONFIG_SPL_FIT_GENERATOR),"")
 U_BOOT_ITS := u-boot.its
-$(U_BOOT_ITS): FORCE
+$(U_BOOT_ITS): u-boot-nodtb.bin FORCE
        $(srctree)/$(CONFIG_SPL_FIT_GENERATOR) \
        $(patsubst %,arch/$(ARCH)/dts/%.dtb,$(subst ",,$(CONFIG_OF_LIST))) > $@
 endif
-- 
2.11.0

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to