summaryrefslogtreecommitdiff
path: root/toolchain/gcc
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-01-26 11:02:59 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-01-26 11:02:59 +0000
commitfbaae65ab4dae142c8b159f1b7794a5bba1581e9 (patch)
tree35771c7d4f82f33adfd6e0d6cedca8dd8a6eace4 /toolchain/gcc
parentf1f2af6ddfafd37ea4a714d1cf8c81bddd09eb48 (diff)
downloadmtk-20170518-fbaae65ab4dae142c8b159f1b7794a5bba1581e9.zip
mtk-20170518-fbaae65ab4dae142c8b159f1b7794a5bba1581e9.tar.gz
mtk-20170518-fbaae65ab4dae142c8b159f1b7794a5bba1581e9.tar.bz2
Fix gcc version selection - default version for linux 2.4 broken in r6208 - brcm-2.6 needs an older compiler at least on wgt634u (don't ask me why...)
SVN-Revision: 6209
Diffstat (limited to 'toolchain/gcc')
-rw-r--r--toolchain/gcc/Config.in2
-rw-r--r--toolchain/gcc/Config.version4
2 files changed, 2 insertions, 4 deletions
diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in
index e5ee5bd..5ea51a8 100644
--- a/toolchain/gcc/Config.in
+++ b/toolchain/gcc/Config.in
@@ -2,8 +2,8 @@
choice
prompt "GCC compiler Version" if TOOLCHAINOPTS
- default GCC_VERSION_4_1_1
default GCC_VERSION_3_4_6 if LINUX_2_4
+ default GCC_VERSION_4_1_1
help
Select the version of gcc you wish to use.
diff --git a/toolchain/gcc/Config.version b/toolchain/gcc/Config.version
index 495c883..3ff5bbf 100644
--- a/toolchain/gcc/Config.version
+++ b/toolchain/gcc/Config.version
@@ -12,11 +12,9 @@ config GCC_VERSION
default "4.1.1"
if !TOOLCHAINOPTS
- config GCC_VERSION_4_2
- default n
-
config GCC_VERSION_3_4_6
default y if LINUX_2_4
+ default y if LINUX_2_6_BRCM
endif