summaryrefslogtreecommitdiff
path: root/config/libc/musl.in
diff options
context:
space:
mode:
Diffstat (limited to 'config/libc/musl.in')
-rw-r--r--config/libc/musl.in49
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