aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-04-18 12:05:08 +0000
committerFelix Fietkau <nbd@openwrt.org>2013-04-18 12:05:08 +0000
commit6a47391ec7925494db97afb26a9f52baf0047548 (patch)
tree0ddf174455936a1778bdd21e2af427d476f935ec
parentc19411a7813f937458a4c7a9a816f791e54a0292 (diff)
downloadmaster-187ad058-6a47391ec7925494db97afb26a9f52baf0047548.tar.gz
master-187ad058-6a47391ec7925494db97afb26a9f52baf0047548.tar.bz2
master-187ad058-6a47391ec7925494db97afb26a9f52baf0047548.zip
toolchain: get rid of libc implementation symbol overloading
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36360 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--toolchain/Config.in19
1 files changed, 14 insertions, 5 deletions
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