summaryrefslogtreecommitdiff
path: root/config/versions/glibc.in
blob: 1c8b2e979366272bedd6a2e4a90573dacfb183ee (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
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
#
# DO NOT EDIT! This file is automatically generated.
#

choice
	bool "Show glibc versions from"

config GLIBC_USE_GNU
	bool "GNU"
	help
	  GNU (which is a recursive acronym for "GNU's Not Unix") provides GNU binutils,
	  GNU C Compiler (gcc), GNU debugger (gdb) and many other utilities. GNU is
	  considered the master source for these packages.
	  
	  You should select "GNU" here unless you definitely know that you need some version
	  from another source.

config GLIBC_USE_LINARO
	bool "Linaro"
	depends on OBSOLETE
	depends on EXPERIMENTAL
	help
	  Linaro is maintaining some advanced/more stable/experimental versions
	  of binutils, gcc, glibc and gdb, especially for the ARM architecture.
	  These versions contain some changes that are not (yet?) merged into
	  their respective upstream repositories.

endchoice

config GLIBC_USE
	string
	default "GLIBC" if GLIBC_USE_GNU
	default "GLIBC_LINARO" if GLIBC_USE_LINARO


if GLIBC_USE_GNU

if EXPERIMENTAL
choice
	bool "Source of glibc"

config GLIBC_SRC_RELEASE
	bool "Released tarball"
	help
	  Download a released tarball.

config GLIBC_SRC_DEVEL
	bool "Vendor repository"
	help
	  Check out from vendor repository at:
	  git://sourceware.org/git/glibc.git

if GLIBC_SRC_DEVEL

config GLIBC_DEVEL_VCS
	string
	default "git"

config GLIBC_DEVEL_URL
	string
	default "git://sourceware.org/git/glibc.git"

config GLIBC_DEVEL_BRANCH
	string "Branch to check out"
	default "master"
	help
	  Git: branch to be checked out
	  Subversion: directories to append to the repository URL.

config GLIBC_DEVEL_REVISION
	string "Revision/changeset"
	default "HEAD"
	help
	  Commit ID or revision ID to check out.

endif

config GLIBC_SRC_CUSTOM
	bool "Custom location"
	depends on EXPERIMENTAL
	help
	  Custom directory or tarball.

if GLIBC_SRC_CUSTOM

config GLIBC_CUSTOM_LOCATION
	string "Custom source location"
	help
	  Path to the directory or tarball with the sources.

endif

endchoice
endif

config GLIBC_MIRRORS_ARRAY
    string
    default "https://ftp.gnu.org/gnu/glibc http://ftp.gnu.org/gnu/glibc ftp://ftp.gnu.org/gnu/glibc ftp://sourceware.org/pub/glibc/releases ftp://gcc.gnu.org/pub/glibc/releases"

choice
	bool "Version of glibc"
    help
      For a released version, select the version of glibc to download
      and build. For sources out of the vendor repository or from a custom
      location, select the version that describes those custom sources.
      Based on this version, crosstool-NG may apply some version-specific
      quirks while building glibc.

config GLIBC_VERY_NEW
    bool "newer than anything below"
    depends on EXPERIMENTAL
    depends on GLIBC_SRC_DEVEL || GLIBC_SRC_CUSTOM
    select GLIBC_2_23_or_later
    depends on !GLIBC_REQUIRE_2_23_or_older
    select GLIBC_2_20_or_later
    depends on !GLIBC_REQUIRE_2_20_or_older
    select GLIBC_2_17_or_later
    depends on !GLIBC_REQUIRE_2_17_or_older

config GLIBC_V_2_25
	bool "2.25"
	select GLIBC_2_23_or_later
    depends on !GLIBC_REQUIRE_2_23_or_older
	select GLIBC_2_20_or_later
    depends on !GLIBC_REQUIRE_2_20_or_older
	select GLIBC_2_17_or_later
    depends on !GLIBC_REQUIRE_2_17_or_older

config GLIBC_V_2_24
	bool "2.24"
	select GLIBC_2_23_or_later
    depends on !GLIBC_REQUIRE_2_23_or_older
	select GLIBC_2_20_or_later
    depends on !GLIBC_REQUIRE_2_20_or_older
	select GLIBC_2_17_or_later
    depends on !GLIBC_REQUIRE_2_17_or_older

config GLIBC_V_2_23
	bool "2.23"
	select GLIBC_2_23_or_later
	select GLIBC_2_20_or_later
    depends on !GLIBC_REQUIRE_2_20_or_older
	select GLIBC_2_17_or_later
    depends on !GLIBC_REQUIRE_2_17_or_older

config GLIBC_V_2_22
	bool "2.22 (OBSOLETE)"
	depends on OBSOLETE
    depends on !GLIBC_REQUIRE_2_23_or_later
	select GLIBC_2_20_or_later
    depends on !GLIBC_REQUIRE_2_20_or_older
	select GLIBC_2_17_or_later
    depends on !GLIBC_REQUIRE_2_17_or_older

config GLIBC_V_2_21
	bool "2.21 (OBSOLETE)"
	depends on OBSOLETE
    depends on !GLIBC_REQUIRE_2_23_or_later
	select GLIBC_2_20_or_later
    depends on !GLIBC_REQUIRE_2_20_or_older
	select GLIBC_2_17_or_later
    depends on !GLIBC_REQUIRE_2_17_or_older

config GLIBC_V_2_20
	bool "2.20 (OBSOLETE)"
	depends on OBSOLETE
    depends on !GLIBC_REQUIRE_2_23_or_later
	select GLIBC_2_20_or_later
	select GLIBC_2_17_or_later
    depends on !GLIBC_REQUIRE_2_17_or_older

config GLIBC_V_2_19
	bool "2.19"
    depends on !GLIBC_REQUIRE_2_23_or_later
    depends on !GLIBC_REQUIRE_2_20_or_later
	select GLIBC_2_17_or_later
    depends on !GLIBC_REQUIRE_2_17_or_older

config GLIBC_V_2_18
	bool "2.18 (OBSOLETE)"
	depends on OBSOLETE
    depends on !GLIBC_REQUIRE_2_23_or_later
    depends on !GLIBC_REQUIRE_2_20_or_later
	select GLIBC_2_17_or_later
    depends on !GLIBC_REQUIRE_2_17_or_older

config GLIBC_V_2_17
	bool "2.17"
    depends on !GLIBC_REQUIRE_2_23_or_later
    depends on !GLIBC_REQUIRE_2_20_or_later
	select GLIBC_2_17_or_later

config GLIBC_V_2_16_0
	bool "2.16.0 (OBSOLETE)"
	depends on OBSOLETE
    depends on !GLIBC_REQUIRE_2_23_or_later
    depends on !GLIBC_REQUIRE_2_20_or_later
    depends on !GLIBC_REQUIRE_2_17_or_later

config GLIBC_V_2_15
	bool "2.15 (OBSOLETE)"
	depends on OBSOLETE
    depends on !GLIBC_REQUIRE_2_23_or_later
    depends on !GLIBC_REQUIRE_2_20_or_later
    depends on !GLIBC_REQUIRE_2_17_or_later

config GLIBC_V_2_14_1
	bool "2.14.1 (OBSOLETE)"
	depends on OBSOLETE
    depends on !GLIBC_REQUIRE_2_23_or_later
    depends on !GLIBC_REQUIRE_2_20_or_later
    depends on !GLIBC_REQUIRE_2_17_or_later

config GLIBC_V_2_14
	bool "2.14 (OBSOLETE)"
	depends on OBSOLETE
    depends on !GLIBC_REQUIRE_2_23_or_later
    depends on !GLIBC_REQUIRE_2_20_or_later
    depends on !GLIBC_REQUIRE_2_17_or_later

config GLIBC_V_2_13
	bool "2.13 (OBSOLETE)"
	depends on OBSOLETE
    depends on !GLIBC_REQUIRE_2_23_or_later
    depends on !GLIBC_REQUIRE_2_20_or_later
    depends on !GLIBC_REQUIRE_2_17_or_later

config GLIBC_V_2_12_2
	bool "2.12.2 (OBSOLETE)"
	depends on OBSOLETE
    depends on !GLIBC_REQUIRE_2_23_or_later
    depends on !GLIBC_REQUIRE_2_20_or_later
    depends on !GLIBC_REQUIRE_2_17_or_later

config GLIBC_V_2_12_1
	bool "2.12.1"
    depends on !GLIBC_REQUIRE_2_23_or_later
    depends on !GLIBC_REQUIRE_2_20_or_later
    depends on !GLIBC_REQUIRE_2_17_or_later

config GLIBC_VERY_OLD
    bool "older than anything above"
    depends on OBSOLETE && EXPERIMENTAL
    depends on GLIBC_SRC_DEVEL || GLIBC_SRC_CUSTOM
    depends on !GLIBC_REQUIRE_2_23_or_later
    depends on !GLIBC_REQUIRE_2_20_or_later
    depends on !GLIBC_REQUIRE_2_17_or_later

endchoice


endif

config GLIBC_VERSION
	string
	default "2.25" if GLIBC_V_2_25
	default "2.24" if GLIBC_V_2_24
	default "2.23" if GLIBC_V_2_23
	default "2.22" if GLIBC_V_2_22
	default "2.21" if GLIBC_V_2_21
	default "2.20" if GLIBC_V_2_20
	default "2.19" if GLIBC_V_2_19
	default "2.18" if GLIBC_V_2_18
	default "2.17" if GLIBC_V_2_17
	default "2.16.0" if GLIBC_V_2_16_0
	default "2.15" if GLIBC_V_2_15
	default "2.14.1" if GLIBC_V_2_14_1
	default "2.14" if GLIBC_V_2_14
	default "2.13" if GLIBC_V_2_13
	default "2.12.2" if GLIBC_V_2_12_2
	default "2.12.1" if GLIBC_V_2_12_1
	default "unknown"

if GLIBC_USE_LINARO

if EXPERIMENTAL
choice
	bool "Source of glibc-linaro"

config GLIBC_LINARO_SRC_RELEASE
	bool "Released tarball"
	help
	  Download a released tarball.

config GLIBC_LINARO_SRC_DEVEL
	bool "Vendor repository"
	help
	  Check out from vendor repository at:
	  https://git.linaro.org/toolchain/glibc.git

if GLIBC_LINARO_SRC_DEVEL

config GLIBC_LINARO_DEVEL_VCS
	string
	default "git"

config GLIBC_LINARO_DEVEL_URL
	string
	default "https://git.linaro.org/toolchain/glibc.git"

config GLIBC_LINARO_DEVEL_BRANCH
	string "Branch to check out"
	default "master"
	help
	  Git: branch to be checked out
	  Subversion: directories to append to the repository URL.

config GLIBC_LINARO_DEVEL_REVISION
	string "Revision/changeset"
	default "HEAD"
	help
	  Commit ID or revision ID to check out.

endif

config GLIBC_LINARO_SRC_CUSTOM
	bool "Custom location"
	depends on EXPERIMENTAL
	help
	  Custom directory or tarball.

if GLIBC_LINARO_SRC_CUSTOM

config GLIBC_LINARO_CUSTOM_LOCATION
	string "Custom source location"
	help
	  Path to the directory or tarball with the sources.

endif

endchoice
endif

config GLIBC_LINARO_MIRRORS_ARRAY
    string
    default ""

choice
	bool "Version of glibc-linaro"
    help
      For a released version, select the version of glibc-linaro to download
      and build. For sources out of the vendor repository or from a custom
      location, select the version that describes those custom sources.
      Based on this version, crosstool-NG may apply some version-specific
      quirks while building glibc-linaro.

config GLIBC_LINARO_VERY_NEW
    bool "newer than anything below"
    depends on EXPERIMENTAL
    depends on GLIBC_LINARO_SRC_DEVEL || GLIBC_LINARO_SRC_CUSTOM
    select GLIBC_2_23_or_later
    depends on !GLIBC_REQUIRE_2_23_or_older
    select GLIBC_2_20_or_later
    depends on !GLIBC_REQUIRE_2_20_or_older
    select GLIBC_2_17_or_later
    depends on !GLIBC_REQUIRE_2_17_or_older

config GLIBC_LINARO_V_2_20_2014_11
	bool "2.20-2014.11 (OBSOLETE,EXPERIMENTAL)"
	depends on OBSOLETE
	depends on EXPERIMENTAL
    depends on !GLIBC_REQUIRE_2_23_or_later
	select GLIBC_2_20_or_later
    depends on !GLIBC_REQUIRE_2_20_or_older
	select GLIBC_2_17_or_later
    depends on !GLIBC_REQUIRE_2_17_or_older

config GLIBC_LINARO_VERY_OLD
    bool "older than anything above"
    depends on OBSOLETE && EXPERIMENTAL
    depends on GLIBC_LINARO_SRC_DEVEL || GLIBC_LINARO_SRC_CUSTOM
    depends on !GLIBC_REQUIRE_2_23_or_later
    depends on !GLIBC_REQUIRE_2_20_or_later
    depends on !GLIBC_REQUIRE_2_17_or_later

endchoice


endif

config GLIBC_LINARO_VERSION
	string
	default "2.20-2014.11" if GLIBC_LINARO_V_2_20_2014_11
	default "unknown"


config GLIBC_2_23_or_later
	bool

config GLIBC_REQUIRE_2_23_or_later
    bool

config GLIBC_REQUIRE_2_23_or_older
    bool

config GLIBC_2_20_or_later
	bool

config GLIBC_REQUIRE_2_20_or_later
    bool

config GLIBC_REQUIRE_2_20_or_older
    bool

config GLIBC_2_17_or_later
	bool

config GLIBC_REQUIRE_2_17_or_later
    bool

config GLIBC_REQUIRE_2_17_or_older
    bool