From: Chris Spencer Date: Thu, 20 Dec 2018 09:25:24 +0000 (+0000) Subject: imx: Add Makefile dependency for mkimage_fit_atf.sh X-Git-Url: http://git.dujemihanovic.xyz/img/sics.gif?a=commitdiff_plain;h=e3bc7c668f424848c18acb664ef8b077b553697b;p=u-boot.git imx: Add Makefile dependency for mkimage_fit_atf.sh 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 Cc: NXP i.MX U-Boot Team --- diff --git a/Makefile b/Makefile index eeb299fc38..47589e47ac 100644 --- 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