X-Git-Url: http://git.openwrt.org/?a=blobdiff_plain;ds=sidebyside;f=toolchain%2FConfig.in;h=2d7fcc11c850451ac26e65359a7032d6d8d010dd;hb=8b5d644bb36846660e1fa20d38361fec12a14b28;hp=436217052f7e5d6a64074e74a794fde5e40cf950;hpb=85a3512150e1ccddc6dff3a35970aa7ea34b3a6a;p=openwrt%2Fstaging%2Fchunkeey.git diff --git a/toolchain/Config.in b/toolchain/Config.in index 436217052f..2d7fcc11c8 100644 --- a/toolchain/Config.in +++ b/toolchain/Config.in @@ -211,24 +211,27 @@ comment "C Library" choice prompt "C Library implementation" if TOOLCHAINOPTS - default LIBC_USE_GLIBC if (aarch64 || aarch64_be) - default LIBC_USE_UCLIBC + default LIBC_USE_GLIBC if mips64 || mips64el + default LIBC_USE_UCLIBC if arc + default LIBC_USE_MUSL help Select the C library implementation. config LIBC_USE_GLIBC bool "Use (e)glibc" select USE_GLIBC + depends on !arc config LIBC_USE_UCLIBC select USE_UCLIBC bool "Use uClibc" depends on !(aarch64 || aarch64_be) + depends on BROKEN || !(arm || armeb || i386 || x86_64 || mips || mipsel || mips64 || mips64el || powerpc) config LIBC_USE_MUSL select USE_MUSL bool "Use musl" - depends on !(mips64 || mips64el || aarch64 || aarch64_be) + depends on !(arc || mips64 || mips64el) endchoice @@ -257,19 +260,20 @@ config INSIGHT config USE_GLIBC bool - default y if !TOOLCHAINOPTS && !EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN && (aarch64 || aarch64_be || octeon) config USE_UCLIBC + default y if !TOOLCHAINOPTS && !EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN && (arc || mips64 || mips64el) bool - default y if !TOOLCHAINOPTS && !EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN && !(aarch64 || aarch64_be || octeon) config USE_MUSL + default y if !TOOLCHAINOPTS && !EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN && !(arc || mips64 || mips64el) bool config USE_EXTERNAL_LIBC bool default y if EXTERNAL_TOOLCHAIN || NATIVE_TOOLCHAIN +source "toolchain/binutils/Config.version" source "toolchain/gcc/Config.version" source "toolchain/glibc/Config.version"