diff mbox series

[v2,11/12] Makefile: Add size check to the u-boot.itb make target

Message ID 20180116084424.17801-12-maxime.ripard@free-electrons.com
State Accepted
Commit e89f5591f40a1c46f4a1016eddd1e215175b992f
Headers show
Series sunxi: arm64 binary size fixes | expand

Commit Message

Maxime Ripard Jan. 16, 2018, 8:44 a.m. UTC
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@free-electrons.com>
---
 Makefile | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/Makefile b/Makefile
index 4981a2ed6f4a..719521950360 100644
--- a/Makefile
+++ b/Makefile
@@ -1053,6 +1053,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)