瀏覽代碼

toolchain: use musl instead of glibc by default for mips64

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

SVN-Revision: 48804
Felix Fietkau 9 年之前
父節點
當前提交
9ae8541466
共有 1 個文件被更改,包括 3 次插入4 次删除
  1. 3 4
      toolchain/Config.in

+ 3 - 4
toolchain/Config.in

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