From: kaloz <kaloz@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Fri, 26 Jan 2007 10:55:06 +0000 (+0000)
Subject: use gcc 4.1.1 for 2.6, 3.4.6 for 2.4 targets by default
X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/32e01300d5612dc0f7190d5184f7ef044e4a953b

use gcc 4.1.1 for 2.6, 3.4.6 for 2.4 targets by default

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6208 3c298f89-4303-0410-b956-a3cf2f4a3e73
---

diff --git a/toolchain/gcc/Config.in b/toolchain/gcc/Config.in
index 55ab7e554..e5ee5bd57 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 if LINUX_2_6_ARUBA
-	default GCC_VERSION_3_4_6
+	default GCC_VERSION_4_1_1
+	default GCC_VERSION_3_4_6 if LINUX_2_4
 	help
 	  Select the version of gcc you wish to use.
 
diff --git a/toolchain/gcc/Config.version b/toolchain/gcc/Config.version
index 397dfa498..495c883c7 100644
--- a/toolchain/gcc/Config.version
+++ b/toolchain/gcc/Config.version
@@ -9,14 +9,14 @@ config GCC_VERSION
 	default "4.1.1"     if GCC_VERSION_4_1_1
 	default "4.2"		if GCC_VERSION_4_2
 	default "3.4.6-nonmips"	    if GCC_VERSION_3_4_6_nonmips
-	default "3.4.6"
+	default "4.1.1"
 
 if !TOOLCHAINOPTS
 	config GCC_VERSION_4_2
 		default n
 
-	config GCC_VERSION_4_1_1
-		default y if LINUX_2_6_ARUBA || LINUX_2_6_IXP4XX || LINUX_2_6_RB532 || LINUX_2_6_X86
+	config GCC_VERSION_3_4_6
+		default y if LINUX_2_4
 endif