From: Felix Fietkau Date: Thu, 18 Apr 2013 12:05:08 +0000 (+0000) Subject: toolchain: get rid of libc implementation symbol overloading X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=bbfcd026213dd2fc99897d8f47d7b2dde7ee138a toolchain: get rid of libc implementation symbol overloading SVN-Revision: 36360 --- diff --git a/toolchain/Config.in b/toolchain/Config.in index 9413300240..05cc350f2e 100644 --- a/toolchain/Config.in +++ b/toolchain/Config.in @@ -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 @@ -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