toolchain: remove obsolete kernel version check
[openwrt/staging/chunkeey.git] / toolchain / Config.in
index 436217052f7e5d6a64074e74a794fde5e40cf950..deff21aa1acc677416dc5050ce97180c0df0c4e3 100644 (file)
@@ -211,8 +211,8 @@ 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_MUSL
        help
          Select the C library implementation.
 
@@ -224,11 +224,12 @@ choice
                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 !(mips64 || mips64el)
 
 endchoice
 
@@ -257,13 +258,13 @@ 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 && (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 && !(mips64 || mips64el)
        bool
 
 config USE_EXTERNAL_LIBC