aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/adm5120/router_be
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-05-24 07:07:09 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-05-24 07:07:09 +0000
commit0ea6fa29406f63ca7596111042f3a1483eec8fe6 (patch)
treea3b79de048e618d61c64274bac506ac8e021f499 /target/linux/adm5120/router_be
parent6a42dd59bdce00a365a969d46ce6c4298fbe01fc (diff)
downloadmaster-187ad058-0ea6fa29406f63ca7596111042f3a1483eec8fe6.tar.gz
master-187ad058-0ea6fa29406f63ca7596111042f3a1483eec8fe6.tar.bz2
master-187ad058-0ea6fa29406f63ca7596111042f3a1483eec8fe6.zip
[adm5120] optimize kernel for size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16020 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/adm5120/router_be')
-rw-r--r--target/linux/adm5120/router_be/config-2.6.281
-rw-r--r--target/linux/adm5120/router_be/config-2.6.301
2 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/adm5120/router_be/config-2.6.28 b/target/linux/adm5120/router_be/config-2.6.28
index 144585eacb..21cd6145ce 100644
--- a/target/linux/adm5120/router_be/config-2.6.28
+++ b/target/linux/adm5120/router_be/config-2.6.28
@@ -25,6 +25,7 @@ CONFIG_BASE_SMALL=0
# CONFIG_BCM47XX is not set
CONFIG_BINFMT_MISC=m
CONFIG_BITREVERSE=y
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_CEVT_R4K=y
CONFIG_CLASSIC_RCU=y
CONFIG_CMDLINE="console=ttyS0,115200 rootfstype=squashfs,jffs2"
diff --git a/target/linux/adm5120/router_be/config-2.6.30 b/target/linux/adm5120/router_be/config-2.6.30
index a4a511f06a..19326577c3 100644
--- a/target/linux/adm5120/router_be/config-2.6.30
+++ b/target/linux/adm5120/router_be/config-2.6.30
@@ -28,6 +28,7 @@ CONFIG_BINFMT_MISC=m
CONFIG_BITREVERSE=y
# CONFIG_CAVIUM_OCTEON_REFERENCE_BOARD is not set
# CONFIG_CAVIUM_OCTEON_SIMULATOR is not set
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_CEVT_R4K=y
CONFIG_CEVT_R4K_LIB=y
CONFIG_CMDLINE="console=ttyS0,115200 rootfstype=squashfs,jffs2"