crosstool-ng/config/libc/musl.in
Bryan Hundven 52260ccebb libc/musl: add musl-libc support
This patch adds initial support for musl-libc.

Musl-libc versions currently supported:
* 1.0.3 (Stable)
* 1.1.3 (Previous Mainline)
* 1.1.4 (Mainline)

Futher improvements are needed.
* gcc-4.9.x has issues (Might be fixed in musl-1.1.4).
* Multilib support is needed.
* Checks to make sure paths are correct.
* Move to 2-step gcc build. 3-step build is not necessary.

Signed-off-by: Bryan Hundven <bryanhundven@gmail.com>
[yann.morin.1998@free.fr: removed the gcc musl patch, to be added later;
 removed dead code do_get_arch()]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-08-08 22:49:37 +02:00

50 lines
1.1 KiB
Plaintext

# musl options
## depends on ! WINDOWS && ! BARE_METAL
##
## select LIBC_SUPPORT_THREADS_NATIVE
## select CC_CORE_PASSES_NEEDED
##
## help Musl is a new standard library to power a new generation of Linux-based
## help devices. musl is lightweight, fast, simple, free, and strives to be
## help correct in the sense of standards-conformance and safety.
config THREADS
default "musl"
choice
bool
prompt "musl version"
# Don't remove next line
# CT_INSERT_VERSION_BELOW
config LIBC_MUSL_V_1_1_4
bool
prompt "1.1.4 (Mainline)"
depends on EXPERIMENTAL
config LIBC_MUSL_V_1_1_3
bool
prompt "1.1.3"
depends on EXPERIMENTAL
config LIBC_MUSL_V_1_0_3
bool
prompt "1.0.3 (Stable)"
config LIBC_MUSL_V_CUSTOM
bool
prompt "Custom musl"
depends on EXPERIMENTAL
endchoice
config LIBC_VERSION
string
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
default "1.1.4" if LIBC_MUSL_V_1_1_4
default "1.1.3" if LIBC_MUSL_V_1_1_3
default "1.0.3" if LIBC_MUSL_V_1_0_3
default "custom" if LIBC_MUSL_V_CUSTOM