toolchain: only default eglibc for octeon and not all of mips64
[openwrt/svn-archive/archive.git] / toolchain / Config.in
index 7c0e3ce086ea6e30c0956472a8a7b9a95a71bf6f..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.
@@ -249,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