toolchain: remove obsolete kernel version check
[openwrt/staging/chunkeey.git] / toolchain / Config.in
index c8a02f3a766ad28881f42823228655a43b377733..deff21aa1acc677416dc5050ce97180c0df0c4e3 100644 (file)
@@ -211,24 +211,25 @@ comment "C Library"
 
 choice
        prompt "C Library implementation" if TOOLCHAINOPTS
-       default LIBC_USE_GLIBC if (aarch64 || aarch64_be)
+       default LIBC_USE_GLIBC if mips64 || mips64el
+       default LIBC_USE_MUSL
        help
          Select the C library implementation.
 
        config LIBC_USE_GLIBC
                bool "Use (e)glibc"
                select USE_GLIBC
-               depends on !avr32
 
        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 !(mips64 || mips64el)
 
 endchoice
 
@@ -241,7 +242,7 @@ comment "Debuggers"
 
 config GDB
        bool
-       depends on !(avr32 || aarch64 || aarch64_be)
+       depends on !(aarch64 || aarch64_be)
        prompt "Build gdb" if TOOLCHAINOPTS
        default y if !EXTERNAL_TOOLCHAIN
        help
@@ -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