summaryrefslogtreecommitdiff
path: root/config/libc/musl.in
blob: 7bab480dc85cd622a0bef70fef377d3bec77d970 (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
44
45
46
47
48
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