
Build FIT image if CONFIG_SPL_FIT_GENERATOR defined.
Signed-off-by: Peng Fan peng.fan@nxp.com Cc: Simon Glass sjg@chromium.org Cc: Masahiro Yamada yamada.masahiro@socionext.com Cc: Bin Meng bmeng.cn@gmail.com Cc: Andre Przywara andre.przywara@arm.com Cc: "Cooper Jr., Franklin" fcooper@ti.com Cc: "Álvaro Fernández Rojas" noltari@gmail.com Cc: Stefano Babic sbabic@denx.de ---
V2: none V3: none V4: wrap using SPL_LOAD_FIT to avoid build error.
Makefile | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/Makefile b/Makefile index a0f3bfd..efc8745 100644 --- a/Makefile +++ b/Makefile @@ -805,6 +805,12 @@ ALL-y += u-boot-tegra.bin u-boot-nodtb-tegra.bin ALL-$(CONFIG_OF_SEPARATE) += u-boot-dtb-tegra.bin endif
+ifdef CONFIG_SPL_LOAD_FIT +ifneq ($(CONFIG_SPL_FIT_GENERATOR),"") +ALL-y += u-boot.itb +endif +endif + # Add optional build target if defined in board/cpu/soc headers ifneq ($(CONFIG_BUILD_TARGET),) ALL-y += $(CONFIG_BUILD_TARGET:"%"=%)