toolchain: only default eglibc for octeon and not all of mips64
[openwrt/openwrt.git] / toolchain / Config.in
index 7302e9f87461a31fd0e816d337896fcdc7075130..637d539452ad2142fd0e062ecde59ac80801b909 100644 (file)
@@ -203,6 +203,7 @@ comment "C Library"
 
 choice
        prompt "C Library implementation" if TOOLCHAINOPTS
+       default LIBC_USE_EGLIBC if octeon
        default LIBC_USE_UCLIBC
        help
          Select the C library implementation.
@@ -219,6 +220,7 @@ choice
        config LIBC_USE_MUSL
                bool "Use musl"
                select USE_MUSL
+               depends on BROKEN
                depends on !(mips64 || mips64el)
 
 endchoice
@@ -248,10 +250,11 @@ config INSIGHT
 
 config USE_EGLIBC
        bool
+       default y if !TOOLCHAINOPTS && !EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN && octeon
 
 config USE_UCLIBC
        bool
-       default y if !TOOLCHAINOPTS && !EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN
+       default y if !TOOLCHAINOPTS && !EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN && !octeon
 
 config USE_MUSL
        bool