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

choice
	bool "Show binutils versions from"

config BINUTILS_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 BINUTILS_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 BINUTILS_USE
	string
	default "BINUTILS" if BINUTILS_USE_GNU
	default "BINUTILS_LINARO" if BINUTILS_USE_LINARO


if BINUTILS_USE_GNU

if EXPERIMENTAL
choice
	bool "Source of binutils"

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

config BINUTILS_SRC_DEVEL
	bool "Vendor repository"
	help
	  Check out from vendor repository at:
	  git://sourceware.org/git/binutils-gdb.git

if BINUTILS_SRC_DEVEL

config BINUTILS_DEVEL_VCS
	string
	default "git"

config BINUTILS_DEVEL_URL
	string
	default "git://sourceware.org/git/binutils-gdb.git"

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

endif

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

if BINUTILS_SRC_CUSTOM

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

endif

endchoice
endif

config BINUTILS_MIRRORS_ARRAY
    string
    default "https://ftp.gnu.org/gnu/binutils ftp://ftp.gnu.org/gnu/binutils ftp://sourceware.org/pub/binutils/releases ftp://gcc.gnu.org/pub/binutils/releases"

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

config BINUTILS_VERY_NEW
    bool "newer than anything below"
    depends on EXPERIMENTAL
    depends on BINUTILS_SRC_DEVEL || BINUTILS_SRC_CUSTOM
    select BINUTILS_2_23_or_later
    depends on !BINUTILS_REQUIRE_2_23_or_older

config BINUTILS_V_2_28
	bool "2.28"
	select BINUTILS_2_23_or_later
    depends on !BINUTILS_REQUIRE_2_23_or_older

config BINUTILS_V_2_27
	bool "2.27"
	select BINUTILS_2_23_or_later
    depends on !BINUTILS_REQUIRE_2_23_or_older

config BINUTILS_V_2_26
	bool "2.26"
	select BINUTILS_2_23_or_later
    depends on !BINUTILS_REQUIRE_2_23_or_older

config BINUTILS_V_2_25_1
	bool "2.25.1 (OBSOLETE)"
	depends on OBSOLETE
	select BINUTILS_2_23_or_later
    depends on !BINUTILS_REQUIRE_2_23_or_older

config BINUTILS_V_2_24
	bool "2.24 (OBSOLETE)"
	depends on OBSOLETE
	select BINUTILS_2_23_or_later
    depends on !BINUTILS_REQUIRE_2_23_or_older

config BINUTILS_V_2_23_2
	bool "2.23.2 (OBSOLETE)"
	depends on OBSOLETE
	select BINUTILS_2_23_or_later
    depends on !BINUTILS_REQUIRE_2_23_or_older

config BINUTILS_VERY_OLD
    bool "older than anything above"
    depends on OBSOLETE && EXPERIMENTAL
    depends on BINUTILS_SRC_DEVEL || BINUTILS_SRC_CUSTOM
    depends on !BINUTILS_REQUIRE_2_23_or_later

endchoice


endif

config BINUTILS_VERSION
	string
	default "2.28" if BINUTILS_V_2_28
	default "2.27" if BINUTILS_V_2_27
	default "2.26" if BINUTILS_V_2_26
	default "2.25.1" if BINUTILS_V_2_25_1
	default "2.24" if BINUTILS_V_2_24
	default "2.23.2" if BINUTILS_V_2_23_2
	default "unknown"

if BINUTILS_USE_LINARO

if EXPERIMENTAL
choice
	bool "Source of binutils-linaro"

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

config BINUTILS_LINARO_SRC_DEVEL
	bool "Vendor repository"
	help
	  Check out from vendor repository at:
	  https://git.linaro.org/toolchain/binutils-gdb.git

if BINUTILS_LINARO_SRC_DEVEL

config BINUTILS_LINARO_DEVEL_VCS
	string
	default "git"

config BINUTILS_LINARO_DEVEL_URL
	string
	default "https://git.linaro.org/toolchain/binutils-gdb.git"

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

endif

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

if BINUTILS_LINARO_SRC_CUSTOM

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

endif

endchoice
endif

config BINUTILS_LINARO_MIRRORS_ARRAY
    string
    default ""

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

config BINUTILS_LINARO_VERY_NEW
    bool "newer than anything below"
    depends on EXPERIMENTAL
    depends on BINUTILS_LINARO_SRC_DEVEL || BINUTILS_LINARO_SRC_CUSTOM
    select BINUTILS_2_23_or_later
    depends on !BINUTILS_REQUIRE_2_23_or_older

config BINUTILS_LINARO_V_2_25_0_2015_01_2
	bool "2.25.0-2015.01-2 (OBSOLETE,EXPERIMENTAL)"
	depends on OBSOLETE
	depends on EXPERIMENTAL
	select BINUTILS_2_23_or_later
    depends on !BINUTILS_REQUIRE_2_23_or_older

config BINUTILS_LINARO_V_2_24_0_2014_11_2
	bool "2.24.0-2014.11-2 (OBSOLETE,EXPERIMENTAL)"
	depends on OBSOLETE
	depends on EXPERIMENTAL
	select BINUTILS_2_23_or_later
    depends on !BINUTILS_REQUIRE_2_23_or_older

config BINUTILS_LINARO_V_2_23_2_2013_10_4
	bool "2.23.2-2013.10-4 (OBSOLETE,EXPERIMENTAL)"
	depends on OBSOLETE
	depends on EXPERIMENTAL
	select BINUTILS_2_23_or_later
    depends on !BINUTILS_REQUIRE_2_23_or_older

config BINUTILS_LINARO_VERY_OLD
    bool "older than anything above"
    depends on OBSOLETE && EXPERIMENTAL
    depends on BINUTILS_LINARO_SRC_DEVEL || BINUTILS_LINARO_SRC_CUSTOM
    depends on !BINUTILS_REQUIRE_2_23_or_later

endchoice


endif

config BINUTILS_LINARO_VERSION
	string
	default "2.25.0-2015.01-2" if BINUTILS_LINARO_V_2_25_0_2015_01_2
	default "2.24.0-2014.11-2" if BINUTILS_LINARO_V_2_24_0_2014_11_2
	default "2.23.2-2013.10-4" if BINUTILS_LINARO_V_2_23_2_2013_10_4
	default "unknown"


config BINUTILS_2_23_or_later
	bool

config BINUTILS_REQUIRE_2_23_or_later
    bool

config BINUTILS_REQUIRE_2_23_or_older
    bool