Skip to contentSkip to conversation

gardena-smart-gateway-mt7688: Disable CMD_LICENSE

PATCH In review Tom Rini 2 participants 3 messages Jan 13 Arm MediaTek

lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 gardena-smart-gateway-mt7688: Disable CMD_LICENSE

This platform is unfortunately frequently very close to the binary size limit. Currently it is so close that generic bug fixes can trigger build failure. Remove the license command from the image as that frees up nearly 7KiB of space.

---
Cc: Stefan Roese <[email protected]>

---
 configs/gardena-smart-gateway-mt7688_defconfig | 1 -
 1 file changed, 1 deletion(-)
configs/gardena-smart-gateway-mt7688_defconfig +0 -1
index 10a595a1df47..a78eebd5fd87 100644
@@ -47,7 +47,6 @@ CONFIG_SPL_MAX_SIZE=0x10000
 CONFIG_SPL_SYS_MALLOC_SIMPLE=y
 CONFIG_SPL_NOR_SUPPORT=y
 CONFIG_HUSH_PARSER=y
-CONFIG_CMD_LICENSE=y
 # CONFIG_BOOTM_NETBSD is not set
 # CONFIG_BOOTM_PLAN9 is not set
 # CONFIG_BOOTM_RTEMS is not set
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · Tom Rini

This platform is unfortunately frequently very close to the binary size limit. Currently it is so close that generic bug fixes can trigger build failure. Remove the license command from the image as that frees up nearly 7KiB of space.

---
Cc: Stefan Roese <[email protected]>

Thanks,
Stefan

Quoted 16 lines
---
  configs/gardena-smart-gateway-mt7688_defconfig | 1 -
  1 file changed, 1 deletion(-)
configs/gardena-smart-gateway-mt7688_defconfig +0 -1
index 10a595a1df47..a78eebd5fd87 100644
@@ -47,7 +47,6 @@ CONFIG_SPL_MAX_SIZE=0x10000
  CONFIG_SPL_SYS_MALLOC_SIMPLE=y
  CONFIG_SPL_NOR_SUPPORT=y
  CONFIG_HUSH_PARSER=y
-CONFIG_CMD_LICENSE=y
  # CONFIG_BOOTM_NETBSD is not set
  # CONFIG_BOOTM_PLAN9 is not set
  # CONFIG_BOOTM_RTEMS is not set
author
#2 lore raw
In reply to Tom Rini
Quoted 6 lines · Tom Rini

This platform is unfortunately frequently very close to the binary size limit. Currently it is so close that generic bug fixes can trigger build failure. Remove the license command from the image as that frees up nearly 7KiB of space.

Applied to u-boot/master, thanks!

[1/1] gardena-smart-gateway-mt7688: Disable CMD_LICENSE

      commit: 84fac64026556a0aba359fb10aa7875ed30ce6b1
Signature · 1 line
Tom