X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=toolchain%2FConfig.in;h=1c0998304ab6b0a7e775c4e96287e00af006d205;hp=75450327fe23f69a266124d8919c22dc8e9e7d8f;hb=48909ef0bac920f448901156d2083be636d6b6b3;hpb=c8bbcc92c948679fe5b95605a2f520760bd1ddfb diff --git a/toolchain/Config.in b/toolchain/Config.in index 75450327fe..1c0998304a 100644 --- a/toolchain/Config.in +++ b/toolchain/Config.in @@ -142,17 +142,12 @@ choice bool "Use eglibc" depends !avr32 - config USE_GLIBC - bool "Use glibc" - depends !avr32 - config USE_UCLIBC bool "Use uClibc" endchoice source "toolchain/eglibc/Config.in" -source "toolchain/glibc/Config.in" source "toolchain/uClibc/Config.in" comment "Debuggers" @@ -160,8 +155,9 @@ comment "Debuggers" config GDB bool + depends !avr32 prompt "Build gdb" if TOOLCHAINOPTS - default n + default y help Enable if you want to build the gdb @@ -175,29 +171,30 @@ config INSIGHT config USE_UCLIBC bool - default y if !TOOLCHAINOPTS + default y if !TOOLCHAINOPTS && !EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN + +config USE_EXTERNAL_LIBC + bool + default y if EXTERNAL_TOOLCHAIN || NATIVE_TOOLCHAIN source "toolchain/gcc/Config.version" source "toolchain/eglibc/Config.version" -source "toolchain/glibc/Config.version" source "toolchain/uClibc/Config.version" config LIBC string default "eglibc" if USE_EGLIBC - default "glibc" if USE_GLIBC default "uClibc" if USE_UCLIBC config LIBC_VERSION string default EGLIBC_VERSION if USE_EGLIBC - default GLIBC_VERSION if USE_GLIBC default UCLIBC_VERSION if USE_UCLIBC config TARGET_SUFFIX string - default "gnueabi" if (USE_EGLIBC || USE_GLIBC) && (arm || armeb) - default "gnu" if (USE_EGLIBC || USE_GLIBC) && !(arm || armeb) + default "gnueabi" if (USE_EGLIBC) && (arm || armeb) + default "gnu" if (USE_EGLIBC) && !(arm || armeb) default "uclibcgnueabi" if USE_UCLIBC && (arm || armeb) default "uclibc" if USE_UCLIBC && !(arm || armeb)