diff options
author | Bryan Hundven <bryanhundven@gmail.com> | 2014-08-01 02:01:46 (GMT) |
---|---|---|
committer | Yann E. MORIN <yann.morin.1998@free.fr> | 2014-08-08 20:49:37 (GMT) |
commit | 52260ccebb73465eacbc292bdc343bdd75e14801 (patch) | |
tree | 5c3bc3421aabafccea418618a04d8f7b2b30bc98 /config | |
parent | 152b7ad4b456eec1ef7f1174c6c18074d35c66b5 (diff) |
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>
Diffstat (limited to 'config')
-rw-r--r-- | config/libc/musl.in | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/config/libc/musl.in b/config/libc/musl.in new file mode 100644 index 0000000..7bab480 --- /dev/null +++ b/config/libc/musl.in @@ -0,0 +1,49 @@ +# 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 |