|
@@ -1074,7 +1074,10 @@ U_BOOT_ITS = $(subst ",,$(CONFIG_SPL_FIT_SOURCE))
|
|
|
else
|
|
|
ifneq ($(CONFIG_SPL_FIT_GENERATOR),"")
|
|
|
U_BOOT_ITS := u-boot.its
|
|
|
-$(U_BOOT_ITS): FORCE
|
|
|
+ifeq ($(CONFIG_SPL_FIT_GENERATOR),"arch/arm/mach-rockchip/make_fit_atf.py")
|
|
|
+U_BOOT_ITS_DEPS += u-boot
|
|
|
+endif
|
|
|
+$(U_BOOT_ITS): $(U_BOOT_ITS_DEPS) FORCE
|
|
|
$(srctree)/$(CONFIG_SPL_FIT_GENERATOR) \
|
|
|
$(patsubst %,arch/$(ARCH)/dts/%.dtb,$(subst ",,$(CONFIG_OF_LIST))) > $@
|
|
|
endif
|