aboutsummaryrefslogtreecommitdiff
path: root/toolchain/toolchain-external/Config.in
blob: 22cee53596c23e7498acfa8daa59eed583f3fd75 (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
if BR2_TOOLCHAIN_EXTERNAL

choice
	prompt "Toolchain"

config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201103
	bool "CodeSourcery ARM 2011.03"
	depends on BR2_arm
	select BR2_TOOLCHAIN_EXTERNAL_GLIBC
	select BR2_INSTALL_LIBSTDCPP
	help
	  Toolchain for the ARM architecture, from CodeSourcery. It
	  uses gcc 4.5.2, binutils 2.20.51, glibc 2.13 and gdb 7.2.50,
	  kernel headers 2.6.38. It has support for the following
	  variants:
            - ARMv5TE, little endian, soft-float, glibc
            - ARMv4T, little endian, soft-float, glibc
            - ARMv7-A, Thumb 2, little endian, soft-float, glibc

config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201009
	bool "CodeSourcery ARM 2010.09"
	depends on BR2_arm
	select BR2_TOOLCHAIN_EXTERNAL_GLIBC
	select BR2_INSTALL_LIBSTDCPP
	help
	  Toolchain for the ARM architecture, from CodeSourcery. It
	  uses gcc 4.5.1, binutils 2.20, glibc 2.11 and gdb 7.2.50,
	  kernel headers 2.6.35.2. It has support for the following
	  variants:
            - ARMv5TE, little endian, soft-float, glibc
            - ARMv4T, little endian, soft-float, glibc
            - ARMv7-A, Thumb 2, little endian, soft-float, glibc

config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2010Q1
	bool "CodeSourcery ARM 2010q1"
	depends on BR2_arm
	select BR2_TOOLCHAIN_EXTERNAL_GLIBC
	select BR2_INSTALL_LIBSTDCPP
	help
	  Toolchain for the ARM architecture, from CodeSourcery. It
	  uses gcc 4.4.1, binutils 2.19, glibc 2.11, gdb 7.0.50 and
	  kernel headers 2.6.32. It has support for the following
	  variants:
             - ARMv5T, little endian, soft-float, glibc
             - ARMv4T, little endian, soft-float, glibc
             - ARMv7-A, Thumb 2, little endian, soft-float, glibc

config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2009Q3
	bool "CodeSourcery ARM 2009q3"
	depends on BR2_arm
	select BR2_TOOLCHAIN_EXTERNAL_GLIBC
	select BR2_INSTALL_LIBSTDCPP
	help
	  Toolchain for the ARM architecture, from CodeSourcery. It
	  uses gcc 4.4.1, binutils 2.19, glibc 2.10 and gdb 6.8 and
	  kernel headers 2.6.30. It has support for the following
	  variants:
            - ARMv5T, little endian, soft-float, glibc
            - ARMv4T, little endian, soft-float, glibc
            - ARMv7-A, Thumb 2, little endian, soft-float, glibc

config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2009Q1
	bool "CodeSourcery ARM 2009q1"
	depends on BR2_arm
	select BR2_TOOLCHAIN_EXTERNAL_GLIBC
	select BR2_INSTALL_LIBSTDCPP
	help
	  Toolchain for the ARM architecture, from CodeSourcery. It
	  uses gcc 4.3.3, binutils 2.19, glibc 2.8 and gdb 6.8 and
	  kernel headers 2.6.30. It has support for the following
	  variants:
            - ARMv5T, little endian, soft-float, glibc
            - ARMv4T, little endian, soft-float, glibc
            - ARMv7-A, Thumb 2, little endian, soft-float, glibc

config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201103
	bool "CodeSourcery MIPS 2011.03"
	depends on BR2_mips || BR2_mipsel
	select BR2_TOOLCHAIN_EXTERNAL_GLIBC
	select BR2_INSTALL_LIBSTDCPP
	help
	  Toolchain for the MIPS architecture, from CodeSourcery. It
	  uses gcc 4.5.2, binutils 2.20.51, glibc 2.13, uClibc 0.9.30
	  and gdb 7.2.50, kernel headers 2.6.38. It has support for
	  the following variants:
            - MIPS32 O32 big endian glibc
            - MIPS32 O32 little endian glibc
            - MIPS32 big endian soft float glibc
            - MIPS32 little endian soft float glibc
            - MIPS32 big endian microMIPS glibc
            - MIPS32 little endian microMIPS glibc
            - MIPS32 big endian soft float microMIPS glibc
            - MIPS32 little endian soft float microMIPS glibc
            - MIPS32 big endian uclibc
            - MIPS32 little endian uclibc
            - MIPS32 big endian soft float uclibc
            - MIPS32 little endian soft float uclibc

config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS44
	bool "CodeSourcery MIPS 4.4"
	depends on BR2_mips || BR2_mipsel
	select BR2_TOOLCHAIN_EXTERNAL_GLIBC
	select BR2_INSTALL_LIBSTDCPP
	help
	  Toolchain for the MIPS architecture, from CodeSourcery. It
	  uses gcc 4.4.1, binutils 2.19, glibc 2.11, uClibc 0.9.30 and
	  gdb 7.0, kernel headers 2.6.32. It has support for the
	  following variants:
            - MIPS32 O32 big endian glibc
            - MIPS32 O32 little endian glibc
            - MIPS32 big endian soft float glibc
            - MIPS32 little endian soft float glibc
            - MIPS32 big endian microMIPS glibc
            - MIPS32 little endian microMIPS glibc
            - MIPS32 big endian soft float microMIPS glibc
            - MIPS32 little endian soft float microMIPS glibc
            - MIPS32 big endian uclibc
            - MIPS32 little endian uclibc
            - MIPS32 big endian soft float uclibc
            - MIPS32 little endian soft float uclibc

config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009
	bool "CodeSoucery PowerPC 2010.09"
	depends on BR2_powerpc
	select BR2_TOOLCHAIN_EXTERNAL_GLIBC
	select BR2_INSTALL_LIBSTDCPP
	help
	  Toolchain for the PowerPC architecture, from
	  CodeSourcery. It uses gcc 4.5.1, binutils 2.20, glibc 2.11,
	  gdb 7.2.50 and kernel headers 2.6.35.2. It has support for
	  the following variants:
            - 603 glibc, 32 bits
            - 603 soft float glibc, 32 bits
            - e600 altivec glibc, 32 bits
            - e500v1 glibc, 32 bits
            - e500v2 glibc, 32 bits
            - e500mc glibc, 32 bits
            - 970 glibc hard-float, 64 bits

config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201009
	bool "CodeSoucery SH 2010.09"
	depends on BR2_sh4 || BR2_sh4eb
	select BR2_TOOLCHAIN_EXTERNAL_GLIBC
	select BR2_INSTALL_LIBSTDCPP
	help
	  Toolchain for the SuperH architecture, from CodeSourcery. It
	  uses gcc 4.5.1, binutils 2.20, glibc 2.11, uClibc 0.9.30,
	  gdb 7.2.50 and kernel headers 2.6.35.2. It has support for
	  the following variants:
            - SH4A, glibc, little endian
            - SH4A, glibc, big endian
            - SH4A, uClibc, little endian
            - SH4A, uClibc, big endian

config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201009
	bool "CodeSoucery SH 2010.09"
	depends on BR2_sh2a_nofpueb || BR2_sh2eb
	select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
	select BR2_INSTALL_LIBSTDCPP
	help
	  Toolchain for the SuperH architecture, from CodeSourcery. It
	  uses gcc 4.5.1, binutils 2.20, uClibc 0.9.30, gdb 7.2.50 and
	  kernel headers 2.6.35.2. It has support for
	  the following variants:
            - SH2A, uClibc, big endian

config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2010RC1
	bool "Blackfin.uclinux.org 2010RC1"
	depends on BR2_bfin
	select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
	select BR2_INSTALL_LIBSTDCPP
	select BR2_LARGEFILE
	select BR2_INET_IPV6
	select BR2_INET_RPC
	select BR2_USE_WCHAR
	select BR2_PROGRAM_INVOCATION
	select BR2_TOOLCHAIN_HAS_THREADS
	help
	  Toolchain for the Blackfin architecture, from
	  http://blackfin.uclinux.org.

config BR2_TOOLCHAIN_EXTERNAL_CUSTOM
       bool "Custom toolchain"
       help
         Use this option to use a custom toolchain pre-installed on
         your system.

endchoice

config BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
	bool "Download toolchain automatically"
	default y
	depends on !BR2_TOOLCHAIN_EXTERNAL_CUSTOM
	help
	  When enabled, Buildroot will automatically download and
	  install the selected external toolchain. When disabled,
	  Buildroot will use a pre-installed toolchain.

config BR2_TOOLCHAIN_EXTERNAL_PATH
	string "Toolchain path"
	default "/path/to/toolchain/usr"
	depends on !BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD
	help
	  Path to where the external toolchain is installed.

config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX
	string "Toolchain prefix"
	depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM
	default "$(ARCH)-linux"

config BR2_TOOLCHAIN_EXTERNAL_PREFIX
	string
	default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2009Q1
	default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2010Q1
	default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201009
	default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201103
	default "mips-linux-gnu"         if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS44
	default "mips-linux-gnu"         if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201103
	default "powerpc-linux-gnu"      if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009
	default "sh-linux-gnu"           if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201009
	default "sh-uclinux"             if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201009
	default "bfin-uclinux"		 if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2010RC1 && !BR2_BFIN_FDPIC
	default "bfin-linux-uclibc"	 if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2010RC1 && BR2_BFIN_FDPIC
	default $(BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX) \
					 if BR2_TOOLCHAIN_EXTERNAL_CUSTOM

config BR2_TOOLCHAIN_EXTERNAL_GLIBC
	bool
	select BR2_LARGEFILE
	select BR2_INET_IPV6
	select BR2_INET_RPC
	select BR2_USE_WCHAR
	select BR2_ENABLE_LOCALE
	select BR2_PROGRAM_INVOCATION
	select BR2_TOOLCHAIN_HAS_THREADS
	select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS

config BR2_TOOLCHAIN_EXTERNAL_UCLIBC
	bool

if BR2_TOOLCHAIN_EXTERNAL_CUSTOM

choice
	prompt "External toolchain C library"
	default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC

config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC
	bool "uClibc"
	select BR2_TOOLCHAIN_EXTERNAL_UCLIBC
	# For the time being, we assume that all custom external
	# toolchains have shadow password support.
	select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS

config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC
	bool "glibc"
	select BR2_TOOLCHAIN_EXTERNAL_GLIBC

endchoice

if BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC

config BR2_TOOLCHAIN_EXTERNAL_LARGEFILE
	bool "Toolchain has large file support?"
	select BR2_LARGEFILE
	help
	  Select this option if your external toolchain supports
	  largefile. If you don't know, leave the default value,
	  Buildroot will tell you if it's correct or not.

config BR2_TOOLCHAIN_EXTERNAL_INET_IPV6
	bool "Toolchain has IPv6 support?"
	select BR2_INET_IPV6
	help
	  Select this option if your external toolchain supports
	  IPv6. If you don't know, leave the default value, Buildroot
	  will tell you if it's correct or not.

config BR2_TOOLCHAIN_EXTERNAL_INET_RPC
	bool "Toolchain has RPC support?"
	select BR2_INET_RPC
	help
	  Select this option if your external toolchain supports
	  RPC. If you don't know, leave the default value, Buildroot
	  will tell you if it's correct or not.

config BR2_TOOLCHAIN_EXTERNAL_WCHAR
	bool "Toolchain has WCHAR support?"
	select BR2_USE_WCHAR
	help
	  Select this option if your external toolchain supports
	  WCHAR. If you don't know, leave the default value, Buildroot
	  will tell you if it's correct or not.

config BR2_TOOLCHAIN_EXTERNAL_LOCALE
	bool "Toolchain has locale support?"
	select BR2_TOOLCHAIN_EXTERNAL_WCHAR
	select BR2_ENABLE_LOCALE
	help
	  Select this option if your external toolchain has locale
	  support. If you don't know, leave the default value,
	  Buildroot will tell you if it's correct or not.

config BR2_TOOLCHAIN_EXTERNAL_PROGRAM_INVOCATION
	bool "Toolchain has program invocation support?"
	select BR2_PROGRAM_INVOCATION
	help
	  Select this option if your external toolchain has program
	  invocation support. If you don't know, leave the default
	  value, Buildroot will tell you if it's correct or not.

config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS
	bool "Toolchain has threads support?"
	select BR2_TOOLCHAIN_HAS_THREADS
	help
	  Select this option if your external toolchain has thread
	  support. If you don't know, leave the default value,
	  Buildroot will tell you if it's correct or not.

endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC

config BR2_TOOLCHAIN_EXTERNAL_CXX
	bool "Toolchain has C++ support?"
	select BR2_INSTALL_LIBSTDCPP
	help
	  Select this option if your external toolchain has C++
	  support. If you don't know, leave the default value,
	  Buildroot will tell you if it's correct or not.

endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM

endif # BR2_TOOLCHAIN_EXTERNAL