aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/gcc
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-10-20 09:14:25 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-10-20 09:14:25 +0000
commit62d2c88da84be3c94b57bf72f2cc83fe9c88b4a6 (patch)
treeb1453e82f768dbdc1ac3a68faaf77e1c36a07095 /toolchain/gcc
parentd3a82c4c7e423643734c5403c3e2e2059f0cf6c6 (diff)
downloadupstream-62d2c88da84be3c94b57bf72f2cc83fe9c88b4a6.tar.gz
upstream-62d2c88da84be3c94b57bf72f2cc83fe9c88b4a6.tar.bz2
upstream-62d2c88da84be3c94b57bf72f2cc83fe9c88b4a6.zip
fix potential inconsistencies in toolchain selection on linux 2.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18097 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/gcc')
-rw-r--r--toolchain/gcc/Config.version8
1 files changed, 7 insertions, 1 deletions
diff --git a/toolchain/gcc/Config.version b/toolchain/gcc/Config.version
index 631bd66bb6..72d6348fc1 100644
--- a/toolchain/gcc/Config.version
+++ b/toolchain/gcc/Config.version
@@ -18,7 +18,9 @@ config GCC_VERSION_3
config GCC_VERSION_3_4
bool
default y if GCC_VERSION_3_4_6
-
+
+if !LINUX_2_4
+
config GCC_VERSION_4
bool
default y if GCC_VERSION_4_1
@@ -46,10 +48,13 @@ config GCC_VERSION_4_4
default y if GCC_VERSION_4_4_0
default y if GCC_VERSION_4_4_1
+endif
+
if !TOOLCHAINOPTS
config GCC_VERSION_3_4_6
default y if LINUX_2_4
+if !LINUX_2_4
config GCC_VERSION_4_2_4
default y if TARGET_avr32
default y if TARGET_ppc40x
@@ -70,3 +75,4 @@ if !TOOLCHAINOPTS
config GCC_VERSION_4_4_1
default y if TARGET_octeon
endif
+endif