Build FIT image if CONFIG_SPL_FIT_GENERATOR defined.

Signed-off-by: Peng Fan <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Masahiro Yamada <[email protected]>
Cc: Bin Meng <[email protected]>
Cc: Andre Przywara <[email protected]>
Cc: "Cooper Jr., Franklin" <[email protected]>
Cc: "Álvaro Fernández Rojas" <[email protected]>
Cc: Stefano Babic <[email protected]>
---

V2: none

 Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/Makefile b/Makefile
index a0f3bfd..a1d7394 100644
--- a/Makefile
+++ b/Makefile
@@ -805,6 +805,10 @@ ALL-y += u-boot-tegra.bin u-boot-nodtb-tegra.bin
 ALL-$(CONFIG_OF_SEPARATE) += u-boot-dtb-tegra.bin
 endif
 
+ifneq ($(CONFIG_SPL_FIT_GENERATOR),)
+ALL-y += u-boot.itb
+endif
+
 # Add optional build target if defined in board/cpu/soc headers
 ifneq ($(CONFIG_BUILD_TARGET),)
 ALL-y += $(CONFIG_BUILD_TARGET:"%"=%)
-- 
2.6.2

_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot

Reply via email to