summaryrefslogtreecommitdiff
path: root/target/linux/adm5120/router_be
diff options
context:
space:
mode:
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-05-24 07:07:09 +0000
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-05-24 07:07:09 +0000
commit5f486f1150ae4bf4f28e0a2f1e114926b42a450f (patch)
treea3b79de048e618d61c64274bac506ac8e021f499 /target/linux/adm5120/router_be
parent2e819fbbd8917f5a969f381378966c340365a8fe (diff)
[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"