summaryrefslogtreecommitdiff
path: root/config/versions/newlib.in
blob: 55aa6b326e5b63c1eed82580617ffc0369213cb7 (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
#
# DO NOT EDIT! This file is automatically generated.
#

choice
	bool "Show newlib versions from"

config NEWLIB_USE_REDHAT
	bool "RedHat"
	help
newlib from RedHat.

config NEWLIB_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 NEWLIB_USE
	string
	default "NEWLIB" if NEWLIB_USE_REDHAT
	default "NEWLIB_LINARO" if NEWLIB_USE_LINARO


if NEWLIB_USE_REDHAT

if EXPERIMENTAL
choice
	bool "Source of newlib"

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

config NEWLIB_SRC_DEVEL
	bool "Vendor repository"
	help
	  Check out from vendor repository at:
	  git://sourceware.org/git/newlib-cygwin.git

if NEWLIB_SRC_DEVEL

config NEWLIB_DEVEL_VCS
	string
	default "git"

config NEWLIB_DEVEL_URL
	string
	default "git://sourceware.org/git/newlib-cygwin.git"

config NEWLIB_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 NEWLIB_DEVEL_REVISION
	string "Revision/changeset"
	default "HEAD"
	help
	  Commit ID or revision ID to check out.

endif

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

if NEWLIB_SRC_CUSTOM

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

endif

endchoice
endif

config NEWLIB_MIRRORS_ARRAY
    string
    default "ftp://sourceware.org/pub/newlib http://mirrors.kernel.org/sourceware/newlib http://mirrors.kernel.org/sources.redhat.com/newlib"

choice
	bool "Version of newlib"
    help
      For a released version, select the version of newlib 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 newlib.

config NEWLIB_VERY_NEW
    bool "newer than anything below"
    depends on EXPERIMENTAL
    depends on NEWLIB_SRC_DEVEL || NEWLIB_SRC_CUSTOM
    select NEWLIB_2_2_or_later
    depends on !NEWLIB_REQUIRE_2_2_or_older
    select NEWLIB_2_1_or_later
    depends on !NEWLIB_REQUIRE_2_1_or_older
    select NEWLIB_2_0_or_later
    depends on !NEWLIB_REQUIRE_2_0_or_older

config NEWLIB_V_2_5_0_20170323
	bool "2.5.0.20170323"
	select NEWLIB_2_2_or_later
    depends on !NEWLIB_REQUIRE_2_2_or_older
	select NEWLIB_2_1_or_later
    depends on !NEWLIB_REQUIRE_2_1_or_older
	select NEWLIB_2_0_or_later
    depends on !NEWLIB_REQUIRE_2_0_or_older

config NEWLIB_V_2_4_0_20161025
	bool "2.4.0.20161025 (OBSOLETE)"
	depends on OBSOLETE
	select NEWLIB_2_2_or_later
    depends on !NEWLIB_REQUIRE_2_2_or_older
	select NEWLIB_2_1_or_later
    depends on !NEWLIB_REQUIRE_2_1_or_older
	select NEWLIB_2_0_or_later
    depends on !NEWLIB_REQUIRE_2_0_or_older

config NEWLIB_V_2_3_0_20160226
	bool "2.3.0.20160226 (OBSOLETE)"
	depends on OBSOLETE
	select NEWLIB_2_2_or_later
    depends on !NEWLIB_REQUIRE_2_2_or_older
	select NEWLIB_2_1_or_later
    depends on !NEWLIB_REQUIRE_2_1_or_older
	select NEWLIB_2_0_or_later
    depends on !NEWLIB_REQUIRE_2_0_or_older

config NEWLIB_V_2_2_0_20151023
	bool "2.2.0.20151023 (OBSOLETE)"
	depends on OBSOLETE
	select NEWLIB_2_2_or_later
    depends on !NEWLIB_REQUIRE_2_2_or_older
	select NEWLIB_2_1_or_later
    depends on !NEWLIB_REQUIRE_2_1_or_older
	select NEWLIB_2_0_or_later
    depends on !NEWLIB_REQUIRE_2_0_or_older

config NEWLIB_V_2_1_0
	bool "2.1.0 (OBSOLETE)"
	depends on OBSOLETE
    depends on !NEWLIB_REQUIRE_2_2_or_later
	select NEWLIB_2_1_or_later
    depends on !NEWLIB_REQUIRE_2_1_or_older
	select NEWLIB_2_0_or_later
    depends on !NEWLIB_REQUIRE_2_0_or_older

config NEWLIB_V_2_0_0
	bool "2.0.0 (OBSOLETE)"
	depends on OBSOLETE
    depends on !NEWLIB_REQUIRE_2_2_or_later
    depends on !NEWLIB_REQUIRE_2_1_or_later
	select NEWLIB_2_0_or_later
    depends on !NEWLIB_REQUIRE_2_0_or_older

config NEWLIB_V_1_20_0
	bool "1.20.0 (OBSOLETE)"
	depends on OBSOLETE
    depends on !NEWLIB_REQUIRE_2_2_or_later
    depends on !NEWLIB_REQUIRE_2_1_or_later
    depends on !NEWLIB_REQUIRE_2_0_or_later

config NEWLIB_V_1_19_0
	bool "1.19.0 (OBSOLETE)"
	depends on OBSOLETE
    depends on !NEWLIB_REQUIRE_2_2_or_later
    depends on !NEWLIB_REQUIRE_2_1_or_later
    depends on !NEWLIB_REQUIRE_2_0_or_later

config NEWLIB_V_1_18_0
	bool "1.18.0 (OBSOLETE)"
	depends on OBSOLETE
    depends on !NEWLIB_REQUIRE_2_2_or_later
    depends on !NEWLIB_REQUIRE_2_1_or_later
    depends on !NEWLIB_REQUIRE_2_0_or_later

config NEWLIB_V_1_17_0
	bool "1.17.0 (OBSOLETE)"
	depends on OBSOLETE
    depends on !NEWLIB_REQUIRE_2_2_or_later
    depends on !NEWLIB_REQUIRE_2_1_or_later
    depends on !NEWLIB_REQUIRE_2_0_or_later

config NEWLIB_VERY_OLD
    bool "older than anything above"
    depends on OBSOLETE && EXPERIMENTAL
    depends on NEWLIB_SRC_DEVEL || NEWLIB_SRC_CUSTOM
    depends on !NEWLIB_REQUIRE_2_2_or_later
    depends on !NEWLIB_REQUIRE_2_1_or_later
    depends on !NEWLIB_REQUIRE_2_0_or_later

endchoice


endif

config NEWLIB_VERSION
	string
	default "2.5.0.20170323" if NEWLIB_V_2_5_0_20170323
	default "2.4.0.20161025" if NEWLIB_V_2_4_0_20161025
	default "2.3.0.20160226" if NEWLIB_V_2_3_0_20160226
	default "2.2.0.20151023" if NEWLIB_V_2_2_0_20151023
	default "2.1.0" if NEWLIB_V_2_1_0
	default "2.0.0" if NEWLIB_V_2_0_0
	default "1.20.0" if NEWLIB_V_1_20_0
	default "1.19.0" if NEWLIB_V_1_19_0
	default "1.18.0" if NEWLIB_V_1_18_0
	default "1.17.0" if NEWLIB_V_1_17_0
	default "unknown"

if NEWLIB_USE_LINARO

if EXPERIMENTAL
choice
	bool "Source of newlib-linaro"

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

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

if NEWLIB_LINARO_SRC_DEVEL

config NEWLIB_LINARO_DEVEL_VCS
	string
	default "git"

config NEWLIB_LINARO_DEVEL_URL
	string
	default "https://git.linaro.org/toolchain/newlib.git"

config NEWLIB_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 NEWLIB_LINARO_DEVEL_REVISION
	string "Revision/changeset"
	default "HEAD"
	help
	  Commit ID or revision ID to check out.

endif

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

if NEWLIB_LINARO_SRC_CUSTOM

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

endif

endchoice
endif

config NEWLIB_LINARO_MIRRORS_ARRAY
    string
    default ""

choice
	bool "Version of newlib-linaro"
    help
      For a released version, select the version of newlib-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 newlib-linaro.

config NEWLIB_LINARO_VERY_NEW
    bool "newer than anything below"
    depends on EXPERIMENTAL
    depends on NEWLIB_LINARO_SRC_DEVEL || NEWLIB_LINARO_SRC_CUSTOM
    select NEWLIB_2_2_or_later
    depends on !NEWLIB_REQUIRE_2_2_or_older
    select NEWLIB_2_1_or_later
    depends on !NEWLIB_REQUIRE_2_1_or_older
    select NEWLIB_2_0_or_later
    depends on !NEWLIB_REQUIRE_2_0_or_older

config NEWLIB_LINARO_V_2_2_0_2015_01
	bool "2.2.0-2015.01 (OBSOLETE,EXPERIMENTAL)"
	depends on OBSOLETE
	depends on EXPERIMENTAL
	select NEWLIB_2_2_or_later
    depends on !NEWLIB_REQUIRE_2_2_or_older
	select NEWLIB_2_1_or_later
    depends on !NEWLIB_REQUIRE_2_1_or_older
	select NEWLIB_2_0_or_later
    depends on !NEWLIB_REQUIRE_2_0_or_older

config NEWLIB_LINARO_V_2_1_0_2014_09
	bool "2.1.0-2014.09 (OBSOLETE,EXPERIMENTAL)"
	depends on OBSOLETE
	depends on EXPERIMENTAL
    depends on !NEWLIB_REQUIRE_2_2_or_later
	select NEWLIB_2_1_or_later
    depends on !NEWLIB_REQUIRE_2_1_or_older
	select NEWLIB_2_0_or_later
    depends on !NEWLIB_REQUIRE_2_0_or_older

config NEWLIB_LINARO_VERY_OLD
    bool "older than anything above"
    depends on OBSOLETE && EXPERIMENTAL
    depends on NEWLIB_LINARO_SRC_DEVEL || NEWLIB_LINARO_SRC_CUSTOM
    depends on !NEWLIB_REQUIRE_2_2_or_later
    depends on !NEWLIB_REQUIRE_2_1_or_later
    depends on !NEWLIB_REQUIRE_2_0_or_later

endchoice


endif

config NEWLIB_LINARO_VERSION
	string
	default "2.2.0-2015.01" if NEWLIB_LINARO_V_2_2_0_2015_01
	default "2.1.0-2014.09" if NEWLIB_LINARO_V_2_1_0_2014_09
	default "unknown"


config NEWLIB_2_2_or_later
	bool

config NEWLIB_REQUIRE_2_2_or_later
    bool

config NEWLIB_REQUIRE_2_2_or_older
    bool

config NEWLIB_2_1_or_later
	bool

config NEWLIB_REQUIRE_2_1_or_later
    bool

config NEWLIB_REQUIRE_2_1_or_older
    bool

config NEWLIB_2_0_or_later
	bool

config NEWLIB_REQUIRE_2_0_or_later
    bool

config NEWLIB_REQUIRE_2_0_or_older
    bool