From: Chris Spencer <christopher.spen...@sea.co.uk>

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.spen...@sea.co.uk>
Cc: NXP i.MX U-Boot Team <uboot-...@nxp.com>
---
 Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Makefile b/Makefile
index fe41a5fe92..929f206f23 100644
--- a/Makefile
+++ b/Makefile
@@ -1113,6 +1113,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
-- 
2.17.1

Disclaimer: 

This email has been scanned for all known viruses by the MessageLabs Email 
Security System.

The contents of this email (including any attachments) are intended for the use 
of the mail addressee(s) shown, hence is private and in addition may include 
commercially sensitive information. If you are not the intended recipient of 
this email any disclosure, copying, distribution or use of its contents is 
strictly prohibited. You should notify the sender immediately and then delete 
it (including any attachments) from your system.

The information contained in or attached to this message may also be subject to 
the export control laws and regulations of the United Kingdom and the United 
States. This specifically includes, but is not limited to, the Arms Export 
Control Act (22 U.S.C. 2751-2794) and the International Traffic in Arms 
Regulation (22 C.F.R 120-130) as well as the Export Administration Act (50 
U.S.C. App. 2401-2420), the Export Administration Regulation (15 C.F.R. 
730-774) and the UK Export Control Act 2002.

Please help out the environment by only printing this e-mail if absolutely 
necessary - Thank you. 

SEA is the brand name of Systems Engineering & Assessment Ltd (registered 
office: Beckington Castle, 17 Castle Corner, Beckington, Frome, Somerset, BA11 
6TA, UK - company number 02302168).
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to