glibc 2.20/2.21 does not compile on x86_64, so disable for now
[openadk.git] / target / config / Config.in.libc.choice
blob1af1b99d0fb967c98a15c2dc6a6b98cba574716d
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 choice
5 prompt "C library"
7 config ADK_TARGET_LIB_UCLIBC_NG
8         bool "uClibc-ng embedded C library"
9         depends on \
10                    !ADK_TARGET_ARCH_AARCH64 && \
11                    !ADK_TARGET_ARCH_ALPHA && \
12                    !ADK_TARGET_ARCH_HPPA && \
13                    !ADK_TARGET_ARCH_NIOS2 && \
14                    !ADK_TARGET_ARCH_SPARC64 && \
15                    !ADK_TARGET_ARCH_PPC64 && \
16                    !ADK_TARGET_ARCH_TILE
17         help
18           http://uclibc-ng.org
20 config ADK_TARGET_LIB_MUSL
21         bool "musl C library"
22         depends on !ADK_TARGET_UCLINUX
23         depends on \
24                 ADK_TARGET_ARCH_AARCH64 || \
25                 ADK_TARGET_ARCH_ARM || \
26                 ADK_TARGET_ARCH_MICROBLAZE || \
27                 ADK_TARGET_ARCH_MIPS || \
28                 ADK_TARGET_ARCH_PPC || \
29                 ADK_TARGET_ARCH_SH || \
30                 ADK_TARGET_ARCH_X86 || \
31                 ADK_TARGET_ARCH_X86_64
32         help
33           http://musl-libc.org
35 config ADK_TARGET_LIB_GLIBC
36         bool "GNU C library"
37         depends on !ADK_TARGET_ARCH_ARC
38         depends on !ADK_TARGET_ARCH_AVR32
39         depends on !ADK_TARGET_ARCH_BFIN
40         depends on !ADK_TARGET_ARCH_CRIS
41         depends on !ADK_TARGET_ARCH_H8300
42         depends on !ADK_TARGET_ARCH_XTENSA
43         depends on !ADK_TARGET_UCLINUX
44         depends on !ADK_TARGET_WITHOUT_MMU
45         help
46           http://www.gnu.org/libc
48 config ADK_TARGET_LIB_UCLIBC
49         bool "uClibc embedded C library"
50         depends on ADK_BROKEN
51         depends on \
52                    !ADK_TARGET_ARCH_AARCH64 && \
53                    !ADK_TARGET_ARCH_ALPHA && \
54                    !ADK_TARGET_ARCH_CRIS && \
55                    !ADK_TARGET_ARCH_HPPA && \
56                    !ADK_TARGET_ARCH_MICROBLAZE && \
57                    !ADK_TARGET_ARCH_NIOS2 && \
58                    !ADK_TARGET_ARCH_SPARC64 && \
59                    !ADK_TARGET_ARCH_PPC64 && \
60                    !ADK_TARGET_ARCH_TILE
61         help
62           http://uclibc.org
64 endchoice
66 choice
67 prompt "C library version"
69 config ADK_TARGET_LIB_UCLIBC_NG_1_0_3
70         bool "1.0.3"
71         depends on ADK_TARGET_LIB_UCLIBC_NG
73 config ADK_TARGET_LIB_UCLIBC_NG_GIT
74         bool "git"
75         depends on ADK_TARGET_LIB_UCLIBC_NG
77 config ADK_TARGET_LIB_GLIBC_2_21
78         bool "2.21"
79         depends on ADK_TARGET_LIB_GLIBC && !ADK_TARGET_ARCH_X86_64
81 config ADK_TARGET_LIB_GLIBC_2_20
82         bool "2.20"
83         depends on ADK_TARGET_LIB_GLIBC && !ADK_TARGET_ARCH_X86_64
85 config ADK_TARGET_LIB_GLIBC_2_19
86         bool "2.19"
87         depends on ADK_TARGET_LIB_GLIBC
89 config ADK_TARGET_LIB_GLIBC_GIT
90         bool "git"
91         depends on ADK_TARGET_LIB_GLIBC
93 config ADK_TARGET_LIB_UCLIBC_GIT
94         bool "git"
95         depends on ADK_TARGET_LIB_UCLIBC
97 config ADK_TARGET_LIB_UCLIBC_0_9_33_2
98         bool "0.9.33.2"
99         depends on ADK_TARGET_LIB_UCLIBC
101 config ADK_TARGET_LIB_MUSL_1_1_10
102         bool "1.1.10"
103         depends on ADK_TARGET_LIB_MUSL
105 config ADK_TARGET_LIB_MUSL_GIT
106         bool "git"
107         depends on ADK_TARGET_LIB_MUSL
109 endchoice
111 choice
112 prompt "Threading"
113 depends on (ADK_TARGET_LIB_UCLIBC || ADK_TARGET_LIB_UCLIBC_NG) \
114         && !ADK_TARGET_WITHOUT_THREADS
116 config ADK_TARGET_LIB_WITH_THREADS
117         bool "enable threads"
119 config ADK_TARGET_LIB_WITHOUT_THREADS
120         bool "disable threads"
122 endchoice