]>
Commit | Line | Data |
---|---|---|
4b0d5a80 | 1 | if BR2_TOOLCHAIN_EXTERNAL |
6c492d5e | 2 | |
643aa232 | 3 | choice |
6c492d5e | 4 | prompt "Toolchain" |
02f71aab | 5 | |
e89b2626 TP |
6 | config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201103 |
7 | bool "CodeSourcery ARM 2011.03" | |
8 | depends on BR2_arm | |
9 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC | |
10 | select BR2_INSTALL_LIBSTDCPP | |
11 | help | |
12 | Toolchain for the ARM architecture, from CodeSourcery. It | |
13 | uses gcc 4.5.2, binutils 2.20.51, glibc 2.13 and gdb 7.2.50, | |
14 | kernel headers 2.6.38. It has support for the following | |
15 | variants: | |
16 | - ARMv5TE, little endian, soft-float, glibc | |
17 | - ARMv4T, little endian, soft-float, glibc | |
18 | - ARMv7-A, Thumb 2, little endian, soft-float, glibc | |
19 | ||
6c492d5e TP |
20 | config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201009 |
21 | bool "CodeSourcery ARM 2010.09" | |
22 | depends on BR2_arm | |
23 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC | |
6b578c8d | 24 | select BR2_INSTALL_LIBSTDCPP |
6c492d5e TP |
25 | help |
26 | Toolchain for the ARM architecture, from CodeSourcery. It | |
27 | uses gcc 4.5.1, binutils 2.20, glibc 2.11 and gdb 7.2.50, | |
28 | kernel headers 2.6.35.2. It has support for the following | |
29 | variants: | |
30 | - ARMv5TE, little endian, soft-float, glibc | |
31 | - ARMv4T, little endian, soft-float, glibc | |
32 | - ARMv7-A, Thumb 2, little endian, soft-float, glibc | |
33 | ||
34 | config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2010Q1 | |
35 | bool "CodeSourcery ARM 2010q1" | |
36 | depends on BR2_arm | |
37 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC | |
6b578c8d | 38 | select BR2_INSTALL_LIBSTDCPP |
6c492d5e TP |
39 | help |
40 | Toolchain for the ARM architecture, from CodeSourcery. It | |
41 | uses gcc 4.4.1, binutils 2.19, glibc 2.11, gdb 7.0.50 and | |
42 | kernel headers 2.6.32. It has support for the following | |
43 | variants: | |
44 | - ARMv5T, little endian, soft-float, glibc | |
45 | - ARMv4T, little endian, soft-float, glibc | |
46 | - ARMv7-A, Thumb 2, little endian, soft-float, glibc | |
47 | ||
66e94f96 KS |
48 | config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2009Q3 |
49 | bool "CodeSourcery ARM 2009q3" | |
50 | depends on BR2_arm | |
51 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC | |
52 | select BR2_INSTALL_LIBSTDCPP | |
53 | help | |
54 | Toolchain for the ARM architecture, from CodeSourcery. It | |
55 | uses gcc 4.4.1, binutils 2.19, glibc 2.10 and gdb 6.8 and | |
56 | kernel headers 2.6.30. It has support for the following | |
57 | variants: | |
58 | - ARMv5T, little endian, soft-float, glibc | |
59 | - ARMv4T, little endian, soft-float, glibc | |
60 | - ARMv7-A, Thumb 2, little endian, soft-float, glibc | |
61 | ||
6c492d5e TP |
62 | config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2009Q1 |
63 | bool "CodeSourcery ARM 2009q1" | |
64 | depends on BR2_arm | |
65 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC | |
6b578c8d | 66 | select BR2_INSTALL_LIBSTDCPP |
6c492d5e TP |
67 | help |
68 | Toolchain for the ARM architecture, from CodeSourcery. It | |
69 | uses gcc 4.3.3, binutils 2.19, glibc 2.8 and gdb 6.8 and | |
70 | kernel headers 2.6.30. It has support for the following | |
71 | variants: | |
72 | - ARMv5T, little endian, soft-float, glibc | |
73 | - ARMv4T, little endian, soft-float, glibc | |
74 | - ARMv7-A, Thumb 2, little endian, soft-float, glibc | |
75 | ||
e7e0d077 TP |
76 | config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201103 |
77 | bool "CodeSourcery MIPS 2011.03" | |
78 | depends on BR2_mips || BR2_mipsel | |
79 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC | |
80 | select BR2_INSTALL_LIBSTDCPP | |
81 | help | |
82 | Toolchain for the MIPS architecture, from CodeSourcery. It | |
83 | uses gcc 4.5.2, binutils 2.20.51, glibc 2.13, uClibc 0.9.30 | |
84 | and gdb 7.2.50, kernel headers 2.6.38. It has support for | |
85 | the following variants: | |
86 | - MIPS32 O32 big endian glibc | |
87 | - MIPS32 O32 little endian glibc | |
88 | - MIPS32 big endian soft float glibc | |
89 | - MIPS32 little endian soft float glibc | |
90 | - MIPS32 big endian microMIPS glibc | |
91 | - MIPS32 little endian microMIPS glibc | |
92 | - MIPS32 big endian soft float microMIPS glibc | |
93 | - MIPS32 little endian soft float microMIPS glibc | |
94 | - MIPS32 big endian uclibc | |
95 | - MIPS32 little endian uclibc | |
96 | - MIPS32 big endian soft float uclibc | |
97 | - MIPS32 little endian soft float uclibc | |
98 | ||
6c492d5e TP |
99 | config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS44 |
100 | bool "CodeSourcery MIPS 4.4" | |
101 | depends on BR2_mips || BR2_mipsel | |
102 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC | |
6b578c8d | 103 | select BR2_INSTALL_LIBSTDCPP |
6c492d5e TP |
104 | help |
105 | Toolchain for the MIPS architecture, from CodeSourcery. It | |
106 | uses gcc 4.4.1, binutils 2.19, glibc 2.11, uClibc 0.9.30 and | |
107 | gdb 7.0, kernel headers 2.6.32. It has support for the | |
108 | following variants: | |
109 | - MIPS32 O32 big endian glibc | |
110 | - MIPS32 O32 little endian glibc | |
111 | - MIPS32 big endian soft float glibc | |
112 | - MIPS32 little endian soft float glibc | |
113 | - MIPS32 big endian microMIPS glibc | |
114 | - MIPS32 little endian microMIPS glibc | |
115 | - MIPS32 big endian soft float microMIPS glibc | |
116 | - MIPS32 little endian soft float microMIPS glibc | |
117 | - MIPS32 big endian uclibc | |
118 | - MIPS32 little endian uclibc | |
119 | - MIPS32 big endian soft float uclibc | |
120 | - MIPS32 little endian soft float uclibc | |
121 | ||
122 | config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009 | |
123 | bool "CodeSoucery PowerPC 2010.09" | |
124 | depends on BR2_powerpc | |
125 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC | |
6b578c8d | 126 | select BR2_INSTALL_LIBSTDCPP |
6c492d5e TP |
127 | help |
128 | Toolchain for the PowerPC architecture, from | |
129 | CodeSourcery. It uses gcc 4.5.1, binutils 2.20, glibc 2.11, | |
130 | gdb 7.2.50 and kernel headers 2.6.35.2. It has support for | |
131 | the following variants: | |
132 | - 603 glibc, 32 bits | |
133 | - 603 soft float glibc, 32 bits | |
134 | - e600 altivec glibc, 32 bits | |
135 | - e500v1 glibc, 32 bits | |
136 | - e500v2 glibc, 32 bits | |
137 | - e500mc glibc, 32 bits | |
138 | - 970 glibc hard-float, 64 bits | |
139 | ||
140 | config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201009 | |
ffa7b997 | 141 | bool "CodeSoucery SH 2010.09" |
d5247aa8 | 142 | depends on BR2_sh4a || BR2_sh4aeb |
6c492d5e | 143 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC |
6b578c8d | 144 | select BR2_INSTALL_LIBSTDCPP |
6c492d5e TP |
145 | help |
146 | Toolchain for the SuperH architecture, from CodeSourcery. It | |
147 | uses gcc 4.5.1, binutils 2.20, glibc 2.11, uClibc 0.9.30, | |
148 | gdb 7.2.50 and kernel headers 2.6.35.2. It has support for | |
149 | the following variants: | |
150 | - SH4A, glibc, little endian | |
151 | - SH4A, glibc, big endian | |
ffa7b997 | 152 | - SH4A, uClibc, little endian |
6c492d5e TP |
153 | - SH4A, uClibc, big endian |
154 | ||
95157455 PE |
155 | config BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201009 |
156 | bool "CodeSoucery SH 2010.09" | |
d5247aa8 | 157 | depends on BR2_sh2a |
95157455 PE |
158 | select BR2_TOOLCHAIN_EXTERNAL_UCLIBC |
159 | select BR2_INSTALL_LIBSTDCPP | |
160 | help | |
161 | Toolchain for the SuperH architecture, from CodeSourcery. It | |
162 | uses gcc 4.5.1, binutils 2.20, uClibc 0.9.30, gdb 7.2.50 and | |
163 | kernel headers 2.6.35.2. It has support for | |
164 | the following variants: | |
165 | - SH2A, uClibc, big endian | |
166 | ||
32a0dcea TP |
167 | config BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2010RC1 |
168 | bool "Blackfin.uclinux.org 2010RC1" | |
169 | depends on BR2_bfin | |
170 | select BR2_TOOLCHAIN_EXTERNAL_UCLIBC | |
171 | select BR2_INSTALL_LIBSTDCPP | |
172 | select BR2_LARGEFILE | |
173 | select BR2_INET_IPV6 | |
174 | select BR2_INET_RPC | |
175 | select BR2_USE_WCHAR | |
176 | select BR2_PROGRAM_INVOCATION | |
177 | select BR2_TOOLCHAIN_HAS_THREADS | |
178 | help | |
179 | Toolchain for the Blackfin architecture, from | |
180 | http://blackfin.uclinux.org. | |
181 | ||
6c492d5e TP |
182 | config BR2_TOOLCHAIN_EXTERNAL_CUSTOM |
183 | bool "Custom toolchain" | |
184 | help | |
185 | Use this option to use a custom toolchain pre-installed on | |
186 | your system. | |
187 | ||
188 | endchoice | |
189 | ||
190 | config BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD | |
191 | bool "Download toolchain automatically" | |
192 | default y | |
193 | depends on !BR2_TOOLCHAIN_EXTERNAL_CUSTOM | |
194 | help | |
195 | When enabled, Buildroot will automatically download and | |
196 | install the selected external toolchain. When disabled, | |
197 | Buildroot will use a pre-installed toolchain. | |
198 | ||
199 | config BR2_TOOLCHAIN_EXTERNAL_PATH | |
200 | string "Toolchain path" | |
201 | default "/path/to/toolchain/usr" | |
202 | depends on !BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD | |
203 | help | |
204 | Path to where the external toolchain is installed. | |
205 | ||
206 | config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX | |
207 | string "Toolchain prefix" | |
208 | depends on BR2_TOOLCHAIN_EXTERNAL_CUSTOM | |
209 | default "$(ARCH)-linux" | |
210 | ||
211 | config BR2_TOOLCHAIN_EXTERNAL_PREFIX | |
212 | string | |
213 | default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2009Q1 | |
214 | default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM2010Q1 | |
215 | default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201009 | |
e89b2626 | 216 | default "arm-none-linux-gnueabi" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_ARM201103 |
6c492d5e | 217 | default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS44 |
e7e0d077 | 218 | default "mips-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_MIPS201103 |
6c492d5e | 219 | default "powerpc-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_POWERPC201009 |
67218789 | 220 | default "sh-linux-gnu" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH201009 |
95157455 | 221 | default "sh-uclinux" if BR2_TOOLCHAIN_EXTERNAL_CODESOURCERY_SH2A_201009 |
32a0dcea TP |
222 | default "bfin-uclinux" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2010RC1 && !BR2_BFIN_FDPIC |
223 | default "bfin-linux-uclibc" if BR2_TOOLCHAIN_EXTERNAL_BLACKFIN_UCLINUX_2010RC1 && BR2_BFIN_FDPIC | |
6c492d5e TP |
224 | default $(BR2_TOOLCHAIN_EXTERNAL_CUSTOM_PREFIX) \ |
225 | if BR2_TOOLCHAIN_EXTERNAL_CUSTOM | |
643aa232 TP |
226 | |
227 | config BR2_TOOLCHAIN_EXTERNAL_GLIBC | |
6c492d5e | 228 | bool |
fff71178 TP |
229 | select BR2_LARGEFILE |
230 | select BR2_INET_IPV6 | |
231 | select BR2_INET_RPC | |
232 | select BR2_USE_WCHAR | |
233 | select BR2_ENABLE_LOCALE | |
234 | select BR2_PROGRAM_INVOCATION | |
9eaad202 | 235 | select BR2_TOOLCHAIN_HAS_THREADS |
b9882925 | 236 | select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS |
643aa232 | 237 | |
6c492d5e TP |
238 | config BR2_TOOLCHAIN_EXTERNAL_UCLIBC |
239 | bool | |
240 | ||
241 | if BR2_TOOLCHAIN_EXTERNAL_CUSTOM | |
242 | ||
243 | choice | |
244 | prompt "External toolchain C library" | |
245 | default BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC | |
246 | ||
247 | config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC | |
248 | bool "uClibc" | |
249 | select BR2_TOOLCHAIN_EXTERNAL_UCLIBC | |
b9882925 TP |
250 | # For the time being, we assume that all custom external |
251 | # toolchains have shadow password support. | |
252 | select BR2_TOOLCHAIN_HAS_SHADOW_PASSWORDS | |
6c492d5e TP |
253 | |
254 | config BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC | |
255 | bool "glibc" | |
256 | select BR2_TOOLCHAIN_EXTERNAL_GLIBC | |
257 | ||
643aa232 | 258 | endchoice |
02f71aab | 259 | |
6c492d5e | 260 | if BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC |
fff71178 TP |
261 | |
262 | config BR2_TOOLCHAIN_EXTERNAL_LARGEFILE | |
263 | bool "Toolchain has large file support?" | |
264 | select BR2_LARGEFILE | |
265 | help | |
266 | Select this option if your external toolchain supports | |
267 | largefile. If you don't know, leave the default value, | |
268 | Buildroot will tell you if it's correct or not. | |
269 | ||
270 | config BR2_TOOLCHAIN_EXTERNAL_INET_IPV6 | |
271 | bool "Toolchain has IPv6 support?" | |
272 | select BR2_INET_IPV6 | |
273 | help | |
274 | Select this option if your external toolchain supports | |
275 | IPv6. If you don't know, leave the default value, Buildroot | |
276 | will tell you if it's correct or not. | |
277 | ||
278 | config BR2_TOOLCHAIN_EXTERNAL_INET_RPC | |
8b370e63 | 279 | bool "Toolchain has RPC support?" |
fff71178 TP |
280 | select BR2_INET_RPC |
281 | help | |
282 | Select this option if your external toolchain supports | |
283 | RPC. If you don't know, leave the default value, Buildroot | |
284 | will tell you if it's correct or not. | |
285 | ||
286 | config BR2_TOOLCHAIN_EXTERNAL_WCHAR | |
287 | bool "Toolchain has WCHAR support?" | |
288 | select BR2_USE_WCHAR | |
289 | help | |
290 | Select this option if your external toolchain supports | |
291 | WCHAR. If you don't know, leave the default value, Buildroot | |
292 | will tell you if it's correct or not. | |
293 | ||
294 | config BR2_TOOLCHAIN_EXTERNAL_LOCALE | |
295 | bool "Toolchain has locale support?" | |
296 | select BR2_TOOLCHAIN_EXTERNAL_WCHAR | |
297 | select BR2_ENABLE_LOCALE | |
298 | help | |
299 | Select this option if your external toolchain has locale | |
300 | support. If you don't know, leave the default value, | |
301 | Buildroot will tell you if it's correct or not. | |
302 | ||
303 | config BR2_TOOLCHAIN_EXTERNAL_PROGRAM_INVOCATION | |
304 | bool "Toolchain has program invocation support?" | |
305 | select BR2_PROGRAM_INVOCATION | |
306 | help | |
307 | Select this option if your external toolchain has program | |
308 | invocation support. If you don't know, leave the default | |
309 | value, Buildroot will tell you if it's correct or not. | |
310 | ||
9eaad202 TP |
311 | config BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS |
312 | bool "Toolchain has threads support?" | |
313 | select BR2_TOOLCHAIN_HAS_THREADS | |
314 | help | |
315 | Select this option if your external toolchain has thread | |
316 | support. If you don't know, leave the default value, | |
317 | Buildroot will tell you if it's correct or not. | |
318 | ||
6c492d5e TP |
319 | endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM_UCLIBC |
320 | ||
6b578c8d TP |
321 | config BR2_TOOLCHAIN_EXTERNAL_CXX |
322 | bool "Toolchain has C++ support?" | |
323 | select BR2_INSTALL_LIBSTDCPP | |
324 | help | |
325 | Select this option if your external toolchain has C++ | |
326 | support. If you don't know, leave the default value, | |
327 | Buildroot will tell you if it's correct or not. | |
328 | ||
6c492d5e | 329 | endif # BR2_TOOLCHAIN_EXTERNAL_CUSTOM |
fff71178 | 330 | |
6c492d5e TP |
331 | endif # BR2_TOOLCHAIN_EXTERNAL |
332 |