summaryrefslogtreecommitdiff
path: root/config/libc/glibc.in
blob: dee6748db02a2fa90a7217616490ed2c97b47210 (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
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
# glibc options

## depends on ! WINDOWS && ! BARE_METAL && ARCH_USE_MMU
##
## select LIBC_SUPPORT_THREADS_NATIVE
## select CC_CORE_PASSES_NEEDED
##
## help The de-facto standard for Linux distributions.
## help Feature-rich, but large...  Most useful for desktop-like systems.

config THREADS
    default "nptl"

config CC_GLIBC_SHOW_LINARO
    bool
    prompt "Show Linaro versions"
    help
      Linaro is maintaining some advanced/more stable/experimental versions
      of glibc, especially for the ARM architecture.
      
      Those versions have not been blessed by the glibc comunity (nor have they
      been cursed either!), but they look to be pretty much stable, and even
      more stable than the upstream versions. YMMV...
      
      If you do not know what this Linaro stuff is, then simply say 'n' here,
      and rest in peace. OTOH, if you know what you are doing, you will be
      able to use and enjoy :-) the Linaro versions by saying 'y' here.
      
      Linaro: http://www.linaro.org/

choice
    bool
    prompt "glibc version"
# Don't remove next line
# CT_INSERT_VERSION_BELOW

config LIBC_GLIBC_V_2_22
    bool
    prompt "2.22"
    select LIBC_GLIBC_2_21_or_later

config LIBC_GLIBC_V_2_21
    bool
    prompt "2.21"
    select LIBC_GLIBC_2_21_or_later

config LIBC_GLIBC_LINARO_V_2_20
    bool
    prompt "Linaro 2.20-2014.11"
    select LIBC_GLIBC_2_20_or_later
    depends on CC_GLIBC_SHOW_LINARO

config LIBC_GLIBC_V_2_20
    bool
    prompt "2.20"
    select LIBC_GLIBC_2_20_or_later

config LIBC_GLIBC_V_2_19
    bool
    prompt "2.19"
    select LIBC_GLIBC_2_17_or_later

config LIBC_GLIBC_V_2_18
    bool
    prompt "2.18"
    select LIBC_GLIBC_2_17_or_later

config LIBC_GLIBC_V_2_17
    bool
    prompt "2.17"
    select LIBC_GLIBC_2_17_or_later

config LIBC_GLIBC_V_2_16_0
    bool
    prompt "2.16.0"
    select LIBC_GLIBC_PORTS_EXTERNAL

config LIBC_GLIBC_V_2_15
    bool
    prompt "2.15"
    select LIBC_GLIBC_PORTS_EXTERNAL

config LIBC_GLIBC_V_2_14_1
    bool
    prompt "2.14.1"
    select LIBC_GLIBC_PORTS_EXTERNAL

config LIBC_GLIBC_V_2_14
    bool
    prompt "2.14"
    select LIBC_GLIBC_PORTS_EXTERNAL

config LIBC_GLIBC_V_2_13
    bool
    prompt "2.13"
    select LIBC_GLIBC_PORTS_EXTERNAL

config LIBC_GLIBC_V_2_12_2
    bool
    prompt "2.12.2"
    select LIBC_GLIBC_PORTS_EXTERNAL

config LIBC_GLIBC_V_2_12_1
    bool
    prompt "2.12.1"
    select LIBC_GLIBC_PORTS_EXTERNAL

config LIBC_GLIBC_V_2_11_1
    bool
    prompt "2.11.1"
    select LIBC_GLIBC_PORTS_EXTERNAL

config LIBC_GLIBC_V_2_11
    bool
    prompt "2.11"
    select LIBC_GLIBC_PORTS_EXTERNAL

config LIBC_GLIBC_V_2_10_1
    bool
    prompt "2.10.1"
    select LIBC_GLIBC_PORTS_EXTERNAL
    select LIBC_GLIBC_USE_PORTS

config LIBC_GLIBC_V_2_9
    bool
    prompt "2.9"
    select LIBC_GLIBC_PORTS_EXTERNAL

config LIBC_GLIBC_V_2_8
    bool
    prompt "2.8"
    select LIBC_GLIBC_PORTS_EXTERNAL

config LIBC_GLIBC_CUSTOM
    bool
    prompt "Custom glibc"
    depends on EXPERIMENTAL
    select LIBC_CUSTOM
    select LIBC_GLIBC_2_20_or_later

endchoice

# glibc 2.21 depends on gcc >= 4.6
config LIBC_GLIBC_2_21_or_later
    bool
    depends on CC_GCC_4_6_or_later
    select LIBC_GLIBC_2_20_or_later

config LIBC_GLIBC_2_20_or_later
    bool
    select LIBC_GLIBC_2_17_or_later

# DeMark no more ports
config LIBC_GLIBC_2_17_or_later
    bool

config LIBC_CUSTOM
    bool

if LIBC_GLIBC_CUSTOM

config LIBC_GLIBC_CUSTOM_LOCATION
    string
    prompt "Full path to custom glibc source"
    default ""
    help
      Enter the path to the directory (or tarball) of your source for glibc,
      or leave blank to use default CT_CUSTOM_LOCATION_ROOT_DIR/glibc

endif # LIBC_GLIBC_CUSTOM

config LIBC_VERSION
    string
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
    default "2.22" if LIBC_GLIBC_V_2_22
    default "2.21" if LIBC_GLIBC_V_2_21
    default "linaro-2.20-2014.11" if LIBC_GLIBC_LINARO_V_2_20
    default "2.20" if LIBC_GLIBC_V_2_20
    default "2.19" if LIBC_GLIBC_V_2_19
    default "2.18" if LIBC_GLIBC_V_2_18
    default "2.17" if LIBC_GLIBC_V_2_17
    default "2.16.0" if LIBC_GLIBC_V_2_16_0
    default "2.15" if LIBC_GLIBC_V_2_15
    default "2.14.1" if LIBC_GLIBC_V_2_14_1
    default "2.14" if LIBC_GLIBC_V_2_14
    default "2.13" if LIBC_GLIBC_V_2_13
    default "2.12.2" if LIBC_GLIBC_V_2_12_2
    default "2.12.1" if LIBC_GLIBC_V_2_12_1
    default "2.11.1" if LIBC_GLIBC_V_2_11_1
    default "2.11" if LIBC_GLIBC_V_2_11
    default "2.10.1" if LIBC_GLIBC_V_2_10_1
    default "2.9" if LIBC_GLIBC_V_2_9
    default "2.8" if LIBC_GLIBC_V_2_8
    default "custom" if LIBC_GLIBC_CUSTOM