aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/Config.in
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-11-23 20:02:29 +0000
committerFlorian Fainelli <florian@openwrt.org>2012-11-23 20:02:29 +0000
commit6b63716262b89bec53402817876116898936d5f4 (patch)
tree1d792a9083d34dc6e40620b3c5802e9168a461e0 /toolchain/Config.in
parent14ed3f0f22f34b337bb58b2a5fd09e887df3331f (diff)
downloadupstream-6b63716262b89bec53402817876116898936d5f4.tar.gz
upstream-6b63716262b89bec53402817876116898936d5f4.tar.bz2
upstream-6b63716262b89bec53402817876116898936d5f4.zip
add preliminary support for musl
Musl is an alternative C-library, see http://www.musl-libc.org for more infos. Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 34314
Diffstat (limited to 'toolchain/Config.in')
-rw-r--r--toolchain/Config.in13
1 files changed, 11 insertions, 2 deletions
diff --git a/toolchain/Config.in b/toolchain/Config.in
index 1c0998304a..32de4b1647 100644
--- a/toolchain/Config.in
+++ b/toolchain/Config.in
@@ -145,10 +145,14 @@ choice
config USE_UCLIBC
bool "Use uClibc"
+ config USE_MUSL
+ bool "Use musl"
+
endchoice
source "toolchain/eglibc/Config.in"
source "toolchain/uClibc/Config.in"
+source "toolchain/musl/Config.in"
comment "Debuggers"
depends TOOLCHAINOPTS
@@ -181,20 +185,25 @@ source "toolchain/gcc/Config.version"
source "toolchain/eglibc/Config.version"
source "toolchain/uClibc/Config.version"
+source "toolchain/musl/Config.version"
config LIBC
string
default "eglibc" if USE_EGLIBC
default "uClibc" if USE_UCLIBC
+ default "musl" if USE_MUSL
config LIBC_VERSION
string
default EGLIBC_VERSION if USE_EGLIBC
default UCLIBC_VERSION if USE_UCLIBC
+ default MUSL_VERSION if USE_MUSL
config TARGET_SUFFIX
string
- default "gnueabi" if (USE_EGLIBC) && (arm || armeb)
- default "gnu" if (USE_EGLIBC) && !(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)
+ default "muslgnueabi" if USE_MUSL && (arm || armeb)
+ default "musl" if USE_MUSL && !(arm || armeb)