From 52260ccebb73465eacbc292bdc343bdd75e14801 Mon Sep 17 00:00:00 2001 From: Bryan Hundven Date: Thu, 31 Jul 2014 19:01:46 -0700 Subject: 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 [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" --- config/libc/musl.in | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 config/libc/musl.in (limited to 'config/libc') diff --git a/config/libc/musl.in b/config/libc/musl.in new file mode 100644 index 00000000..7bab480d --- /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 -- cgit v1.2.3