toolchain: use musl instead of glibc by default for mips64

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48804
This commit is contained in:
Felix Fietkau 2016-02-26 10:56:02 +00:00
parent e70ec04eb3
commit 9ae8541466

View File

@ -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