Browse Source

ixp4xx: enable OPTIMIZE_FOR_SIZE

Enabling OPTIMIZE_FOR_SIZE cuts the kernel binary down by 50K which is
critical for some small-footprint boards.

Signed-off-by: Tim Harvey <[email protected]>

SVN-Revision: 33679
Felix Fietkau 13 years ago
parent
commit
cae6f4ddb4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      target/linux/ixp4xx/config-3.3

+ 1 - 0
target/linux/ixp4xx/config-3.3

@@ -24,6 +24,7 @@ CONFIG_ARM_PATCH_PHYS_VIRT=y
 CONFIG_BCMA_POSSIBLE=y
 CONFIG_BOUNCE=y
 # CONFIG_CACHE_L2X0 is not set
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
 CONFIG_CLKSRC_MMIO=y
 CONFIG_CMDLINE="root=/dev/mtdblock2 rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200"
 CONFIG_CMDLINE_FROM_BOOTLOADER=y