toolchain: refresh uClibc patches
[openwrt/svn-archive/archive.git] / toolchain / Config.in
index 94133002400b2a1cb02192ad40aa6d72778f1f72..161e46fea807df2c25aba24d61534281b45221f5 100644 (file)
@@ -164,19 +164,22 @@ comment "C Library"
 
 choice
        prompt "C Library implementation" if TOOLCHAINOPTS
-       default USE_UCLIBC
+       default LIBC_USE_UCLIBC
        help
          Select the C library implementation.
 
-       config USE_EGLIBC
+       config LIBC_USE_EGLIBC
                bool "Use eglibc"
+               select USE_EGLIBC
                depends on !avr32
-       
-       config USE_UCLIBC
+
+       config LIBC_USE_UCLIBC
+               select USE_UCLIBC
                bool "Use uClibc"
 
-       config USE_MUSL
+       config LIBC_USE_MUSL
                bool "Use musl"
+               select USE_MUSL
                depends on !(mips64 || mips64el)
 
 endchoice
@@ -192,7 +195,7 @@ config GDB
        bool
        depends on !avr32
        prompt "Build gdb" if TOOLCHAINOPTS
-       default y
+       default y if !EXTERNAL_TOOLCHAIN
        help
                Enable if you want to build the gdb
 
@@ -204,10 +207,16 @@ config INSIGHT
        help
                Enable if you want to build insight-gdb
 
+config USE_EGLIBC
+       bool
+
 config USE_UCLIBC
        bool
        default y if !TOOLCHAINOPTS && !EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN
 
+config USE_MUSL
+       bool
+
 config USE_EXTERNAL_LIBC
        bool
        default y if EXTERNAL_TOOLCHAIN || NATIVE_TOOLCHAIN