projects
/
openwrt
/
staging
/
linusw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8203d5
)
ixp4xx: enable OPTIMIZE_FOR_SIZE
author
Felix Fietkau
<nbd@openwrt.org>
Wed, 10 Oct 2012 11:38:28 +0000
(11:38 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Wed, 10 Oct 2012 11:38:28 +0000
(11:38 +0000)
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
target/linux/ixp4xx/config-3.3
patch
|
blob
|
history
diff --git
a/target/linux/ixp4xx/config-3.3
b/target/linux/ixp4xx/config-3.3
index 3d90775c5600545ec6ba62ff72df1ee659eb1a52..54a0ebbb4c5e505099c9f9695e68d1b52e16cdac 100644
(file)
--- 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