summaryrefslogtreecommitdiff
path: root/target/linux/ixp4xx
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2012-10-10 11:38:28 +0000
committerFelix Fietkau <nbd@openwrt.org>2012-10-10 11:38:28 +0000
commitcae6f4ddb4b667c5a165f21b97ea180e4ddcb375 (patch)
tree6f1eb49bf94ca0981bfe287defdecdf13913be86 /target/linux/ixp4xx
parentc8203d57c54cdda5b49f23210478c4a3ee8d6bc2 (diff)
downloadmtk-20170518-cae6f4ddb4b667c5a165f21b97ea180e4ddcb375.zip
mtk-20170518-cae6f4ddb4b667c5a165f21b97ea180e4ddcb375.tar.gz
mtk-20170518-cae6f4ddb4b667c5a165f21b97ea180e4ddcb375.tar.bz2
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 <tharvey@gateworks.com> SVN-Revision: 33679
Diffstat (limited to 'target/linux/ixp4xx')
-rw-r--r--target/linux/ixp4xx/config-3.31
1 files changed, 1 insertions, 0 deletions
diff --git a/target/linux/ixp4xx/config-3.3 b/target/linux/ixp4xx/config-3.3
index 3d90775..54a0ebb 100644
--- a/target/linux/ixp4xx/config-3.3
+++ b/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