summaryrefslogtreecommitdiff
path: root/target/config/Config.in.libc.choice
blob: 486562a3647ae0c08cb806e1991bfd2429bf5966 (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

choice
prompt "C library"

config ADK_TARGET_LIB_UCLIBC_NG
	bool "uClibc-ng embedded C library"
	depends on \
		   !ADK_TARGET_ARCH_AARCH64 && \
		   !ADK_TARGET_ARCH_ALPHA && \
		   !ADK_TARGET_ARCH_HPPA && \
		   !ADK_TARGET_ARCH_NIOS2 && \
		   !ADK_TARGET_ARCH_OR1K && \
		   !ADK_TARGET_ARCH_SPARC64 && \
		   !ADK_TARGET_ARCH_PPC64 && \
		   !ADK_TARGET_ARCH_TILE
	help
	  http://uclibc-ng.org

config ADK_TARGET_LIB_MUSL
	bool "musl C library"
	depends on !ADK_TARGET_UCLINUX
	depends on \
		ADK_TARGET_ARCH_AARCH64 || \
		ADK_TARGET_ARCH_ARM || \
		ADK_TARGET_ARCH_MICROBLAZE || \
		ADK_TARGET_ARCH_MIPS || \
		ADK_TARGET_ARCH_OR1K || \
		ADK_TARGET_ARCH_PPC || \
		ADK_TARGET_ARCH_SH || \
		ADK_TARGET_ARCH_X86 || \
		ADK_TARGET_ARCH_X86_64
	help
 	  http://musl-libc.org

config ADK_TARGET_LIB_GLIBC
	bool "GNU C library"
	depends on !ADK_TARGET_ARCH_ARC
	depends on !ADK_TARGET_ARCH_AVR32
	depends on !ADK_TARGET_ARCH_BFIN
	depends on !ADK_TARGET_ARCH_CRIS
	depends on !ADK_TARGET_ARCH_H8300
	depends on !ADK_TARGET_ARCH_OR1K
	depends on !ADK_TARGET_ARCH_XTENSA
	depends on !ADK_TARGET_UCLINUX
	depends on !ADK_TARGET_WITHOUT_MMU
	help
	  http://www.gnu.org/libc

config ADK_TARGET_LIB_UCLIBC
	bool "uClibc embedded C library"
	depends on ADK_BROKEN
	depends on \
		   !ADK_TARGET_ARCH_AARCH64 && \
		   !ADK_TARGET_ARCH_ALPHA && \
		   !ADK_TARGET_ARCH_CRIS && \
		   !ADK_TARGET_ARCH_HPPA && \
		   !ADK_TARGET_ARCH_MICROBLAZE && \
		   !ADK_TARGET_ARCH_NIOS2 && \
		   !ADK_TARGET_ARCH_SPARC64 && \
		   !ADK_TARGET_ARCH_PPC64 && \
		   !ADK_TARGET_ARCH_TILE
	help
 	  http://uclibc.org

endchoice

choice
prompt "C library version"

config ADK_TARGET_LIB_UCLIBC_NG_1_0_6
	bool "1.0.6"
	depends on ADK_TARGET_LIB_UCLIBC_NG

config ADK_TARGET_LIB_UCLIBC_NG_GIT
	bool "git"
	depends on ADK_TARGET_LIB_UCLIBC_NG

config ADK_TARGET_LIB_GLIBC_2_22
	bool "2.22"
	depends on ADK_TARGET_LIB_GLIBC && !ADK_TARGET_ARCH_HPPA

config ADK_TARGET_LIB_GLIBC_2_21
	bool "2.21"
	depends on ADK_TARGET_LIB_GLIBC && !ADK_TARGET_ARCH_HPPA

config ADK_TARGET_LIB_GLIBC_2_20
	bool "2.20"
	depends on ADK_TARGET_LIB_GLIBC && !ADK_TARGET_ARCH_HPPA

config ADK_TARGET_LIB_GLIBC_2_19
	bool "2.19"
	depends on ADK_TARGET_LIB_GLIBC && !ADK_TARGET_ARCH_HPPA

config ADK_TARGET_LIB_GLIBC_GIT
	bool "git"
	depends on ADK_TARGET_LIB_GLIBC

config ADK_TARGET_LIB_UCLIBC_GIT
	bool "git"
	depends on ADK_TARGET_LIB_UCLIBC

config ADK_TARGET_LIB_UCLIBC_0_9_33_2
	bool "0.9.33.2"
	depends on ADK_TARGET_LIB_UCLIBC

config ADK_TARGET_LIB_MUSL_1_1_10
	bool "1.1.10"
	depends on ADK_TARGET_LIB_MUSL

config ADK_TARGET_LIB_MUSL_GIT
	bool "git"
	depends on ADK_TARGET_LIB_MUSL

endchoice

choice
prompt "Threading"
depends on (ADK_TARGET_LIB_UCLIBC || ADK_TARGET_LIB_UCLIBC_NG) \
	&& !ADK_TARGET_WITHOUT_THREADS

config ADK_TARGET_LIB_WITH_THREADS
	bool "enable threads"

config ADK_TARGET_LIB_WITHOUT_THREADS
	bool "disable threads"

endchoice