Просмотр исходного кода

toolchain: use different defaults for octeon

force eglibc and gcc4.6+linaro for octeon

Signed-off-by: Martin Fäcknitz <[email protected]>

SVN-Revision: 41251
John Crispin 11 лет назад
Родитель
Сommit
c911cdcc04
3 измененных файлов с 6 добавлено и 2 удалено
  1. 3 1
      toolchain/Config.in
  2. 1 0
      toolchain/gcc/Config.in
  3. 2 1
      toolchain/gcc/Config.version

+ 3 - 1
toolchain/Config.in

@@ -203,6 +203,7 @@ comment "C Library"
 
 choice
 	prompt "C Library implementation" if TOOLCHAINOPTS
+	default LIBC_USE_EGLIBC if mips64
 	default LIBC_USE_UCLIBC
 	help
 	  Select the C library implementation.
@@ -249,10 +250,11 @@ config INSIGHT
 
 config USE_EGLIBC
 	bool
+	default y if !TOOLCHAINOPTS && !EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN && mips64
 
 config USE_UCLIBC
 	bool
-	default y if !TOOLCHAINOPTS && !EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN
+	default y if !TOOLCHAINOPTS && !EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN && !mips64
 
 config USE_MUSL
 	bool

+ 1 - 0
toolchain/gcc/Config.in

@@ -3,6 +3,7 @@
 choice
 	prompt "GCC compiler Version" if TOOLCHAINOPTS
 	default GCC_USE_VERSION_4_4_7 if avr32
+	default GCC_USE_VERSION_4_6_LINARO if mips64
 	default GCC_USE_VERSION_4_8_LINARO
 	help
 	  Select the version of gcc you wish to use.

+ 2 - 1
toolchain/gcc/Config.version

@@ -3,10 +3,11 @@ config GCC_VERSION_4_4_7
 	bool
 
 config GCC_VERSION_4_6_LINARO
+	default y if (!TOOLCHAINOPTS && mips64)
 	bool
 
 config GCC_VERSION_4_8_LINARO
-	default y if (!TOOLCHAINOPTS && !avr32)
+	default y if (!TOOLCHAINOPTS && !avr32 && !mips64)
 	bool
 
 config GCC_VERSION_4_8_0