summaryrefslogtreecommitdiff
path: root/toolchain/gcc
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-06-28 20:42:21 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-06-28 20:42:21 +0000
commit1b4fc61eea3e3525f3de43e4bcc2aeece9bad0d9 (patch)
tree9d4f9902345dcb842da67213e184f100aa5a2f06 /toolchain/gcc
parent83a487c4123bbc1a8da408648e5a567da52b6d6f (diff)
downloadmtk-20170518-1b4fc61eea3e3525f3de43e4bcc2aeece9bad0d9.zip
mtk-20170518-1b4fc61eea3e3525f3de43e4bcc2aeece9bad0d9.tar.gz
mtk-20170518-1b4fc61eea3e3525f3de43e4bcc2aeece9bad0d9.tar.bz2
update magicbox target to 2.6.22-rc6, select gcc 4.2.0 as default for this target (4.1.2 segfaults at compile time)
SVN-Revision: 7762
Diffstat (limited to 'toolchain/gcc')
-rw-r--r--toolchain/gcc/Config.in1
-rw-r--r--toolchain/gcc/Config.version11
2 files changed, 4 insertions, 8 deletions
diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in
index fccb7ac..2c0a982 100644
--- a/toolchain/gcc/Config.in
+++ b/toolchain/gcc/Config.in
@@ -3,6 +3,7 @@
choice
prompt "GCC compiler Version" if TOOLCHAINOPTS
default GCC_VERSION_3_4_6 if LINUX_2_4
+ default GCC_VERSION_4_2_0 if LINUX_2_6_MAGICBOX
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 440b482..0b2ac52 100644
--- a/toolchain/gcc/Config.version
+++ b/toolchain/gcc/Config.version
@@ -1,21 +1,16 @@
config GCC_VERSION
string
- default "3.4.4" if GCC_VERSION_3_4_4
- default "3.4.5" if GCC_VERSION_3_4_5
default "3.4.6" if GCC_VERSION_3_4_6
- default "4.0.2" if GCC_VERSION_4_0_2
- default "4.0.3" if GCC_VERSION_4_0_3
- default "4.1.0" if GCC_VERSION_4_1_0
- default "4.1.1" if GCC_VERSION_4_1_1
default "4.1.2" if GCC_VERSION_4_1_2
default "4.2.0" if GCC_VERSION_4_2_0
- default "3.4.6-nonmips" if GCC_VERSION_3_4_6_nonmips
default "4.1.2"
if !TOOLCHAINOPTS
config GCC_VERSION_3_4_6
default y if LINUX_2_4
- default y if LINUX_2_6_BRCM
+
+ config GCC_VERSION_4_2_0
+ default y if LINUX_2_6_MAGICBOX
endif