summaryrefslogtreecommitdiff
path: root/config/libc/musl.in
blob: 8df09df13b7c5291671e194626deb9e26249efd3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# 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
    bool
    prompt "1.1.12 (Mainline)"
    depends on EXPERIMENTAL

config LIBC_MUSL_V_1_0
    bool
    prompt "1.0.5 (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.12" if LIBC_MUSL_V_1_1
    default "1.0.5" if LIBC_MUSL_V_1_0
    default "custom" if LIBC_MUSL_V_CUSTOM