]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx: Add Makefile dependency for mkimage_fit_atf.sh
authorChris Spencer <christopher.spencer@sea.co.uk>
Thu, 20 Dec 2018 09:25:24 +0000 (09:25 +0000)
committerStefano Babic <sbabic@denx.de>
Wed, 9 Jan 2019 15:53:53 +0000 (16:53 +0100)
The mkimage_fit_atf.sh SPL FIT generator script requires
u-boot-nodtb.bin, but this was not enforced by the Makefile. This could
cause the generator script to be executed before u-boot-nodtb.bin has
been created.

Signed-off-by: Chris Spencer <christopher.spencer@sea.co.uk>
Cc: NXP i.MX U-Boot Team <uboot-imx@nxp.com>
Makefile

index eeb299fc380e0e24fc399860957c7f8edb497b03..47589e47ac197de18c8a56664b1da776fb5a55ca 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1133,6 +1133,9 @@ U_BOOT_ITS = $(subst ",,$(CONFIG_SPL_FIT_SOURCE))
 else
 ifneq ($(CONFIG_SPL_FIT_GENERATOR),"")
 U_BOOT_ITS := u-boot.its
+ifeq ($(CONFIG_SPL_FIT_GENERATOR),"arch/arm/mach-imx/mkimage_fit_atf.sh")
+U_BOOT_ITS_DEPS += u-boot-nodtb.bin
+endif
 ifeq ($(CONFIG_SPL_FIT_GENERATOR),"arch/arm/mach-rockchip/make_fit_atf.py")
 U_BOOT_ITS_DEPS += u-boot
 endif