From 1635e008aaae374deebb51bf918dcd9649c48023 Mon Sep 17 00:00:00 2001 From: nbd Date: Tue, 20 Oct 2009 09:03:44 +0000 Subject: [PATCH] use the new 4.3.3+cs toolchain for mips and arm - significantly improves code size on mips and performance on arm git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18094 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- toolchain/gcc/Config.in | 2 ++ toolchain/gcc/Config.version | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in index 2c0f93e79..f0fb18476 100644 --- a/toolchain/gcc/Config.in +++ b/toolchain/gcc/Config.in @@ -11,6 +11,8 @@ choice default GCC_VERSION_4_3_3 if TARGET_coldfire default GCC_VERSION_4_4_0 if ubicom32 default GCC_VERSION_4_4_1 if TARGET_octeon + default GCC_VERSION_4_3_3_CS if mips || mipsel + default GCC_VERSION_4_3_3_CS if arm || armeb default GCC_VERSION_4_1_2 help Select the version of gcc you wish to use. diff --git a/toolchain/gcc/Config.version b/toolchain/gcc/Config.version index 12987f402..631bd66bb 100644 --- a/toolchain/gcc/Config.version +++ b/toolchain/gcc/Config.version @@ -4,7 +4,7 @@ config GCC_VERSION default "4.1.2" if GCC_VERSION_4_1_2 default "4.2.4" if GCC_VERSION_4_2_4 default "4.3.3" if GCC_VERSION_4_3_3 - default "4.3.3+cs" if GCC_VERSION_4_3_3_CS + default "4.3.3+cs" if GCC_VERSION_4_3_3_CS default "4.3.4" if GCC_VERSION_4_3_4 default "4.4.0" if GCC_VERSION_4_4_0 default "4.4.1" if GCC_VERSION_4_4_1 @@ -60,6 +60,10 @@ if !TOOLCHAINOPTS default y if TARGET_etrax default y if TARGET_coldfire + config GCC_VERSION_4_3_3_CS + default y if mips || mipsel + default y if arm || armeb + config GCC_VERSION_4_4_0 default y if ubicom32 -- 2.35.1