toolchain: get rid of libc implementation symbol overloading

SVN-Revision: 36360
master
Felix Fietkau 12 years ago
parent eac3474257
commit 97e7fdf6fd
  1. 17
      toolchain/Config.in

@ -164,19 +164,22 @@ comment "C Library"
choice choice
prompt "C Library implementation" if TOOLCHAINOPTS prompt "C Library implementation" if TOOLCHAINOPTS
default USE_UCLIBC default LIBC_USE_UCLIBC
help help
Select the C library implementation. Select the C library implementation.
config USE_EGLIBC config LIBC_USE_EGLIBC
bool "Use eglibc" bool "Use eglibc"
select USE_EGLIBC
depends on !avr32 depends on !avr32
config USE_UCLIBC config LIBC_USE_UCLIBC
select USE_UCLIBC
bool "Use uClibc" bool "Use uClibc"
config USE_MUSL config LIBC_USE_MUSL
bool "Use musl" bool "Use musl"
select USE_MUSL
depends on !(mips64 || mips64el) depends on !(mips64 || mips64el)
endchoice endchoice
@ -204,10 +207,16 @@ config INSIGHT
help help
Enable if you want to build insight-gdb Enable if you want to build insight-gdb
config USE_EGLIBC
bool
config USE_UCLIBC config USE_UCLIBC
bool bool
default y if !TOOLCHAINOPTS && !EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN default y if !TOOLCHAINOPTS && !EXTERNAL_TOOLCHAIN && !NATIVE_TOOLCHAIN
config USE_MUSL
bool
config USE_EXTERNAL_LIBC config USE_EXTERNAL_LIBC
bool bool
default y if EXTERNAL_TOOLCHAIN || NATIVE_TOOLCHAIN default y if EXTERNAL_TOOLCHAIN || NATIVE_TOOLCHAIN

Loading…
Cancel
Save