Browse Source

fix potential inconsistencies in toolchain selection on linux 2.4

SVN-Revision: 18097
Felix Fietkau 16 years ago
parent
commit
6c2b49cf23
1 changed files with 7 additions and 1 deletions
  1. 7 1
      toolchain/gcc/Config.version

+ 7 - 1
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