[U-Boot] [PATCH 10/11] Makefile: Add size check to the u-boot.itb make target

Maxime Ripard maxime.ripard at free-electrons.com
Thu Dec 21 12:40:29 UTC 2017


The make macro to check if the binary exceeds the board size limit is not
called. Make sure that is the case.

Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index c573ddba95ff..dd26795bb1f3 100644
--- a/Makefile
+++ b/Makefile
@@ -1022,6 +1022,7 @@ u-boot-dtb.img u-boot.img u-boot.kwb u-boot.pbl u-boot-ivt.img: \
 
 u-boot.itb: u-boot-nodtb.bin dts/dt.dtb $(U_BOOT_ITS) FORCE
 	$(call if_changed,mkfitimage)
+	$(BOARD_SIZE_CHECK)
 
 u-boot-spl.kwb: u-boot.img spl/u-boot-spl.bin FORCE
 	$(call if_changed,mkimage)
-- 
2.14.3



More information about the U-Boot mailing list