aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@openwrt.org>2009-05-24 07:01:45 +0000
committerGabor Juhos <juhosg@openwrt.org>2009-05-24 07:01:45 +0000
commit6a42dd59bdce00a365a969d46ce6c4298fbe01fc (patch)
treef24af2a9eb3bb9185f41cf3949f881a36237d1f1 /target
parent3aa54b123ec26975afda8704a0a49cbf7b0e5da2 (diff)
downloadmaster-187ad058-6a42dd59bdce00a365a969d46ce6c4298fbe01fc.tar.gz
master-187ad058-6a42dd59bdce00a365a969d46ce6c4298fbe01fc.tar.bz2
master-187ad058-6a42dd59bdce00a365a969d46ce6c4298fbe01fc.zip
[ar71xx] optimize kernel for size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16019 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/linux/ar71xx/config-2.6.281
-rw-r--r--target/linux/ar71xx/config-2.6.301
2 files changed, 2 insertions, 0 deletions
diff --git a/target/linux/ar71xx/config-2.6.28 b/target/linux/ar71xx/config-2.6.28
index b4926cee1c..06e738110c 100644
--- a/target/linux/ar71xx/config-2.6.28
+++ b/target/linux/ar71xx/config-2.6.28
@@ -33,6 +33,7 @@ CONFIG_ATHEROS_AR71XX=y
CONFIG_BASE_SMALL=0
# CONFIG_BCM47XX is not set
CONFIG_BITREVERSE=y
+CONFIG_CC_OPTIMIZE_FOR_SIZE=y
CONFIG_CEVT_R4K=y
CONFIG_CLASSIC_RCU=y
CONFIG_CMDLINE="rootfstype=squashfs,yaffs,jffs2 noinitrd console=ttyS0,115200"
diff --git a/target/linux/ar71xx/config-2.6.30 b/target/linux/ar71xx/config-2.6.30
index 1484346eea..464a45d9ee 100644
--- a/target/linux/ar71xx/config-2.6.30
+++ b/target/linux/ar71xx/config-2.6.30
@@ -35,6 +35,7 @@ CONFIG_BASE_SMALL=0
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="rootfstype=squashfs,yaffs,jffs2 noinitrd console=ttyS0,115200"