From: Felix Fietkau Date: Fri, 26 Feb 2016 10:56:02 +0000 (+0000) Subject: toolchain: use musl instead of glibc by default for mips64 X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=7f4e3d7dff980d007b092a7cf410cdaf9c563d5a toolchain: use musl instead of glibc by default for mips64 Signed-off-by: Felix Fietkau SVN-Revision: 48804 --- diff --git a/toolchain/Config.in b/toolchain/Config.in index d1de8f37be..49c3461a1b 100644 --- a/toolchain/Config.in +++ b/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