Browse Source

toolchain: use musl instead of glibc by default for mips64

Signed-off-by: Felix Fietkau <[email protected]>

SVN-Revision: 48804
Felix Fietkau 9 years ago
parent
commit
9ae8541466
1 changed files with 3 additions and 4 deletions
  1. 3 4
      toolchain/Config.in

+ 3 - 4
toolchain/Config.in

@@ -188,6 +188,7 @@ menuconfig EXTRA_TARGET_ARCH
 			bool "n64"
 
 		config MIPS64_ABI_N32
+			depends on !LIBC_USE_MUSL
 			bool "n32"
 
 		config MIPS64_ABI_O32
@@ -210,7 +211,6 @@ comment "C Library"
 
 choice
 	prompt "C Library implementation" if TOOLCHAINOPTS
-	default LIBC_USE_GLIBC if mips64 || mips64el
 	default LIBC_USE_UCLIBC if arc
 	default LIBC_USE_MUSL
 	help
@@ -230,7 +230,7 @@ choice
 	config LIBC_USE_MUSL
 		select USE_MUSL
 		bool "Use musl"
-		depends on !(arc || mips64 || mips64el)
+		depends on !(arc)
 
 endchoice
 
@@ -257,7 +257,6 @@ config INSIGHT
 	  Enable if you want to build insight-gdb.
 
 config USE_GLIBC
-	default y if !TOOLCHAINOPTS && !EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN && (mips64 || mips64el)
 	bool
 
 config USE_UCLIBC
@@ -265,7 +264,7 @@ config USE_UCLIBC
 	bool
 
 config USE_MUSL
-	default y if !TOOLCHAINOPTS && !EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN && !(arc || mips64 || mips64el)
+	default y if !TOOLCHAINOPTS && !EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN && !(arc)
 	bool
 
 config USE_EXTERNAL_LIBC