summaryrefslogtreecommitdiff
path: root/config/libc.in
blob: e919ba858e77b87bbb037433add11f0682439663 (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
# C library options

menu "C-library"

choice
    bool
    prompt "C-library to use:"
    default LIBC_GLIBC

config LIBC_GLIBC
    bool
    prompt "glibc"
    select LIBC_SUPPORT_NPTL
    select LIBC_SUPPORT_LINUXTHREADS

config LIBC_UCLIBC
    bool
    prompt "uClibc"
    select LIBC_SUPPORT_LINUXTHREADS

endchoice

config LIBC_VERSION
    string

config LIBC
    string
    default "glibc" if LIBC_GLIBC
    default "uClibc" if LIBC_UCLIBC

config LIBC_SUPPORT_NPTL
    bool
    default n

config LIBC_SUPPORT_LINUXTHREADS
    bool
    default n

if LIBC_GLIBC
source config/libc_glibc.in
endif

if LIBC_UCLIBC
source config/libc_uClibc.in
endif

endmenu