Skip to contentSkip to conversation

Makefile: Add missing CONFIG_BOARD_SIZE_LIMIT check for u-boot-spl.kwb

PATCH In review Pali Rohár 3 participants 4 messages Sep 14, 2022 – Sep 20, 2022 Kbuild

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Makefile: Add missing CONFIG_BOARD_SIZE_LIMIT check for u-boot-spl.kwb

Currently CONFIG_BOARD_SIZE_LIMIT check is ignored for u-boot-spl.kwb target. Fix it by adding missing $(BOARD_SIZE_CHECK) macro.

---
 Makefile | 1 +
 1 file changed, 1 insertion(+)
Makefile +1 -0
index 65aca6e3e79b..3818107b2cbb 100644
@@ -1472,6 +1472,7 @@ endif
 
 u-boot-spl.kwb: u-boot.bin spl/u-boot-spl.bin FORCE
 	$(call if_changed,mkimage)
+	$(BOARD_SIZE_CHECK)
 
 u-boot.sha1:	u-boot.bin
 		tools/ubsha1 u-boot.bin
Signature · 1 line
2.20.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 13 lines · On Wed, 14 Sep 2022 15:06:14 +0200 Pali Rohár <[email protected]> wrote:

Currently CONFIG_BOARD_SIZE_LIMIT check is ignored for u-boot-spl.kwb target. Fix it by adding missing $(BOARD_SIZE_CHECK) macro.

---
 Makefile | 1 +
 1 file changed, 1 insertion(+)
Makefile +0 -0
index 65aca6e3e79b..3818107b2cbb 100644

Makefile endif · line 1478

Quoted 7 lines
Makefile +1 -0
@@ -1472,6 +1472,7 @@ endif
 
 u-boot-spl.kwb: u-boot.bin spl/u-boot-spl.bin FORCE
 	$(call if_changed,mkimage)
+	$(BOARD_SIZE_CHECK)
 
 u-boot.sha1:	u-boot.bin
 		tools/ubsha1 u-boot.bin
Reviewed-by on v1 1/1
#2 lore raw
In reply to Pali Rohár
Quoted 4 lines · Pali Rohár

Currently CONFIG_BOARD_SIZE_LIMIT check is ignored for u-boot-spl.kwb target. Fix it by adding missing $(BOARD_SIZE_CHECK) macro.

Thanks,
Stefan

Quoted 9 lines
---
  Makefile | 1 +
  1 file changed, 1 insertion(+)
Makefile +0 -0
index 65aca6e3e79b..3818107b2cbb 100644

Makefile endif · line 1478

Quoted 7 lines
Makefile +1 -0
@@ -1472,6 +1472,7 @@ endif
 
  u-boot-spl.kwb: u-boot.bin spl/u-boot-spl.bin FORCE
  	$(call if_changed,mkimage)
+	$(BOARD_SIZE_CHECK)
 
  u-boot.sha1:	u-boot.bin
  		tools/ubsha1 u-boot.bin

Viele Grüße,
Stefan Roese

Signature · 3 lines
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: [email protected]