summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-02-26 10:56:02 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-02-26 10:56:02 +0000
commit9ae85414662453a46025630c6e3fd64f447771d5 (patch)
tree58c718c3ef08ba8bb1066a63cffc49e53fd9301f
parente70ec04eb30b865841b7881373e2ec1240e502d7 (diff)
downloadmtk-20170518-9ae85414662453a46025630c6e3fd64f447771d5.zip
mtk-20170518-9ae85414662453a46025630c6e3fd64f447771d5.tar.gz
mtk-20170518-9ae85414662453a46025630c6e3fd64f447771d5.tar.bz2
toolchain: use musl instead of glibc by default for mips64
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 48804
-rw-r--r--toolchain/Config.in7
1 files changed, 3 insertions, 4 deletions
diff --git a/toolchain/Config.in b/toolchain/Config.in
index d1de8f3..49c3461 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