blob: 92de8e0bf1193f771a3d85c69b68b46e04a98174 [file] [log] [blame]
Eric Andersen2d523c22004-10-09 01:06:03 +00001#
2
3mainmenu "Buildroot2 Configuration"
4
5config BR2_HAVE_DOT_CONFIG
6 bool
7 default y
8
Ulf Samuelsson412ca2a2007-07-12 13:11:03 +00009source "project/Config.in"
10
Eric Andersen2d523c22004-10-09 01:06:03 +000011choice
12 prompt "Target Architecture"
13 default BR2_i386
14 help
Bernhard Reutner-Fischer93ab6d32007-01-28 12:03:58 +000015 Select the target architecture family to build for.
Eric Andersen2d523c22004-10-09 01:06:03 +000016
Mike Frysingere763ae92005-09-22 06:08:52 +000017config BR2_alpha
18 bool "alpha"
Eric Andersen2d523c22004-10-09 01:06:03 +000019config BR2_arm
20 bool "arm"
Eric Andersen2d523c22004-10-09 01:06:03 +000021config BR2_armeb
22 bool "armeb"
Bernhard Reutner-Fischer20290b82007-01-28 15:15:53 +000023config BR2_avr32
24 bool "avr32"
Eric Andersen2d523c22004-10-09 01:06:03 +000025config BR2_cris
26 bool "cris"
Bernhard Reutner-Fischer7d8a59b2007-07-08 16:28:54 +000027config BR2_ia64
28 bool "ia64"
Eric Andersen2d523c22004-10-09 01:06:03 +000029config BR2_i386
30 bool "i386"
Eric Andersen2d523c22004-10-09 01:06:03 +000031config BR2_m68k
32 bool "m68k"
Eric Andersen2d523c22004-10-09 01:06:03 +000033config BR2_mips
34 bool "mips"
Eric Andersen2d523c22004-10-09 01:06:03 +000035config BR2_mipsel
36 bool "mipsel"
Mike Frysingere420a882006-01-04 04:52:34 +000037config BR2_nios2
38 bool "nios2"
Eric Andersen2d523c22004-10-09 01:06:03 +000039config BR2_powerpc
40 bool "powerpc"
Bernhard Reutner-Fischer7d8a59b2007-07-08 16:28:54 +000041config BR2_s390
42 bool "s390"
Paul Mundtc5564f72005-05-03 13:56:36 +000043config BR2_sh
Paul Mundtb10bfad2006-08-28 06:52:43 +000044 bool "superh"
45config BR2_sh64
46 bool "superh64"
Paul Mundtc5564f72005-05-03 13:56:36 +000047config BR2_sparc
48 bool "sparc"
Mike Frysingere763ae92005-09-22 06:08:52 +000049config BR2_x86_64
50 bool "x86_64"
Paul Mundtc5564f72005-05-03 13:56:36 +000051endchoice
52
53#
Bernhard Reutner-Fischerc3c100b2006-07-04 11:44:32 +000054# Keep the variants separate, there's no need to clutter everything else.
Paul Mundtc5564f72005-05-03 13:56:36 +000055# sh is fairly "special" in this regard, as virtually everyone else has
56# things kept down to a _sensible_ number of target variants. No such
57# luck for sh..
58#
59choice
60 prompt "Target Architecture Variant"
Mike Frysinger679fd2f2006-01-18 12:31:57 +000061 depends BR2_arm || BR2_armeb
62 default BR2_generic_arm
Bernhard Reutner-Fischer93ab6d32007-01-28 12:03:58 +000063 help
64 Specific CPU variant to use
65
Mike Frysinger679fd2f2006-01-18 12:31:57 +000066config BR2_generic_arm
67 bool "generic_arm"
Ulf Samuelsson0f230532007-08-13 20:22:17 +000068config BR2_arm7tdmi
69 bool "arm7tdmi"
Mike Frysinger679fd2f2006-01-18 12:31:57 +000070config BR2_arm610
71 bool "arm610"
72config BR2_arm710
73 bool "arm710"
74config BR2_arm720t
75 bool "arm720t"
76config BR2_arm920t
77 bool "arm920t"
78config BR2_arm922t
79 bool "arm922t"
80config BR2_arm926t
81 bool "arm926t"
Ulf Samuelsson0f230532007-08-13 20:22:17 +000082config BR2_arm10t
83 bool "arm10t"
Mike Frysinger679fd2f2006-01-18 12:31:57 +000084config BR2_arm1136jf_s
85 bool "arm1136jf_s"
Bernhard Reutner-Fischere3ea4c52007-03-20 14:42:42 +000086config BR2_arm1176jz_s
87 bool "arm1176jz-s"
88config BR2_arm1176jzf_s
89 bool "arm1176jzf-s"
Mike Frysinger679fd2f2006-01-18 12:31:57 +000090config BR2_sa110
91 bool "sa110"
92config BR2_sa1100
93 bool "sa1100"
94config BR2_xscale
95 bool "xscale"
Bernhard Reutner-Fischerbb1caf62007-01-17 13:54:12 +000096config BR2_iwmmxt
Bernhard Reutner-Fischerad505fa2007-01-17 13:05:14 +000097 bool "iwmmxt"
Mike Frysinger679fd2f2006-01-18 12:31:57 +000098endchoice
99
100config BR2_ARM_TYPE
101 string
Ulf Samuelsson0f230532007-08-13 20:22:17 +0000102 default GENERIC_ARM if BR2_generic_arm
Mike Frysinger679fd2f2006-01-18 12:31:57 +0000103 default ARM610 if BR2_arm610
104 default ARM710 if BR2_arm710
Ulf Samuelsson0f230532007-08-13 20:22:17 +0000105 default ARM7TDMI if BR2_arm7tdmi
Mike Frysinger679fd2f2006-01-18 12:31:57 +0000106 default ARM720T if BR2_arm720t
107 default ARM920T if BR2_arm920t
108 default ARM922T if BR2_arm922t
109 default ARM926T if BR2_arm926t
Ulf Samuelsson0f230532007-08-13 20:22:17 +0000110 default ARM10T if BR2_arm10t
Mike Frysinger679fd2f2006-01-18 12:31:57 +0000111 default ARM1136JF_S if BR2_arm1136jf_s
Bernhard Reutner-Fischere3ea4c52007-03-20 14:42:42 +0000112 default ARM1176JZ_S if BR2_arm1176jz_s
113 default ARM1176JZF_S if BR2_arm1176jzf_s
Mike Frysinger679fd2f2006-01-18 12:31:57 +0000114 default ARM_SA110 if BR2_sa110
115 default ARM_SA1100 if BR2_sa1100
116 default ARM_XSCALE if BR2_xscale
Bernhard Reutner-Fischerbb1caf62007-01-17 13:54:12 +0000117 default ARM_IWMMXT if BR2_iwmmxt
Mike Frysinger679fd2f2006-01-18 12:31:57 +0000118
119choice
Paul Mundt61aa8052006-06-05 22:11:01 +0000120 prompt "Target ABI"
121 depends BR2_arm || BR2_armeb
122 default BR2_ARM_OABI
Bernhard Reutner-Fischer93ab6d32007-01-28 12:03:58 +0000123 help
124 Application Binary Interface to use
125
Paul Mundt61aa8052006-06-05 22:11:01 +0000126config BR2_ARM_OABI
127 bool "OABI"
128config BR2_ARM_EABI
129 bool "EABI"
130endchoice
131
132choice
Mike Frysinger679fd2f2006-01-18 12:31:57 +0000133 prompt "Target Architecture Variant"
Bernhard Reutner-Fischer20290b82007-01-28 15:15:53 +0000134 depends BR2_avr32
Ulf Samuelsson9558f262007-07-29 06:51:35 +0000135config BR2_at32ap7000
136 bool "AT32AP7000"
137config BR2_at32ap7001
138 bool "AT32AP7001"
139config BR2_at32ap7002
140 bool "AT32AP7002"
Bernhard Reutner-Fischer20290b82007-01-28 15:15:53 +0000141endchoice
142
143
144choice
145 prompt "Target Architecture Variant"
Paul Mundtc5564f72005-05-03 13:56:36 +0000146 depends BR2_sh
147 default BR2_sh4
Bernhard Reutner-Fischer93ab6d32007-01-28 12:03:58 +0000148 help
149 Specific CPU variant to use
150
Paul Mundtc5564f72005-05-03 13:56:36 +0000151config BR2_sh2a_nofpueb
152 bool "sh2a_nofpueb"
Paul Mundtd66db532005-05-07 17:28:49 +0000153config BR2_sh2eb
154 bool "sh2eb"
Eric Andersen070e7c12004-12-11 09:56:58 +0000155config BR2_sh3
156 bool "sh3"
Eric Andersen070e7c12004-12-11 09:56:58 +0000157config BR2_sh3eb
158 bool "sh3eb"
Eric Andersen070e7c12004-12-11 09:56:58 +0000159config BR2_sh4
Eric Andersen2d523c22004-10-09 01:06:03 +0000160 bool "sh4"
Eric Andersen070e7c12004-12-11 09:56:58 +0000161config BR2_sh4eb
162 bool "sh4eb"
Mike Frysinger6212c192005-09-24 04:55:03 +0000163endchoice
Eric Andersen070e7c12004-12-11 09:56:58 +0000164
Mike Frysinger6212c192005-09-24 04:55:03 +0000165#
166# gcc builds libstdc++ differently depending on the
167# host tuplet given to it, so let people choose
168#
169choice
170 prompt "Target Architecture Variant"
171 depends BR2_i386
Bernhard Reutner-Fischer7d8a59b2007-07-08 16:28:54 +0000172 default BR2_x86_i386
Bernhard Reutner-Fischer93ab6d32007-01-28 12:03:58 +0000173 help
174 Specific CPU variant to use
175
Mike Frysinger6212c192005-09-24 04:55:03 +0000176config BR2_x86_i386
177 bool "i386"
178config BR2_x86_i486
179 bool "i486"
180config BR2_x86_i586
181 bool "i586"
182config BR2_x86_i686
183 bool "i686"
Bernhard Reutner-Fischer7d8a59b2007-07-08 16:28:54 +0000184config BR2_x86_pentiumpro
185 bool "pentium pro"
186config BR2_x86_pentium_mmx
187 bool "pentium MMX"
188config BR2_x86_pentium_m
189 bool "pentium mobile"
190config BR2_x86_pentium2
191 bool "pentium2"
192config BR2_x86_pentium3
193 bool "pentium3"
Bernhard Reutner-Fischerece6fe02007-06-02 16:36:43 +0000194config BR2_x86_pentium4
195 bool "pentium4"
Bernhard Reutner-Fischer7d8a59b2007-07-08 16:28:54 +0000196config BR2_x86_prescott
197 bool "prescott"
Bernhard Reutner-Fischerece6fe02007-06-02 16:36:43 +0000198config BR2_x86_nocona
199 bool "nocona"
200config BR2_x86_core2
201 bool "core2"
Bernhard Reutner-Fischer7d8a59b2007-07-08 16:28:54 +0000202config BR2_x86_k6
203 bool "k6"
204config BR2_x86_k6_2
205 bool "k6-2"
206config BR2_x86_athlon
207 bool "athlon"
208config BR2_x86_athlon_4
209 bool "athlon-4"
210config BR2_x86_opteron
211 bool "opteron"
212config BR2_x86_opteron_sse3
213 bool "opteron w/ SSE3"
214config BR2_x86_barcelona
215 bool "barcelona"
216config BR2_x86_geode
217 bool "geode"
218config BR2_x86_c3
219 bool "cyrix 3 (MMX + 3dNOW!)"
220config BR2_x86_winchip_c6
221 bool "IDT winchip C6 (i486 + slow MMX)"
222config BR2_x86_winchip2
223 bool "IDT winchip2 (i486 +MMX +SSE)"
Bernhard Reutner-Fischerece6fe02007-06-02 16:36:43 +0000224endchoice
225
226choice
227 prompt "Target Architecture Variant"
228 depends BR2_x86_64
229 default BR2_x86_64_core2
230 help
231 Specific CPU variant to use
232
Bernhard Reutner-Fischer7d8a59b2007-07-08 16:28:54 +0000233config BR2_x86_64_barcelona
234 bool "barcelona"
235config BR2_x86_64_opteron_sse3
236 bool "opteron w/ sse3"
Bernhard Reutner-Fischerece6fe02007-06-02 16:36:43 +0000237config BR2_x86_64_opteron
238 bool "opteron"
239config BR2_x86_64_nocona
240 bool "nocona"
241config BR2_x86_64_core2
242 bool "core2"
Eric Andersen2d523c22004-10-09 01:06:03 +0000243endchoice
244
Bernhard Reutner-Fischer7d8a59b2007-07-08 16:28:54 +0000245choice
246 prompt "Target Architecture Variant"
247 depends BR2_alpha
248 default BR2_alpha_21064
249 help
250 Specific CPU variant to use
251
252config BR2_alpha_21064
253 bool "21064"
254config BR2_alpha_21164
255 bool "21164"
256config BR2_alpha_21164a
257 bool "21164a"
258config BR2_alpha_21164pc
259 bool "21164pc"
260config BR2_alpha_21264
261 bool "21264"
262config BR2_alpha_21264a
263 bool "21264a"
264endchoice
265
266choice
267 prompt "Target Architecture Variant"
268 depends BR2_s390
269 default BR2_s390_g5
270 help
271 Specific CPU variant to use
272
273config BR2_s390_g5
274 bool "g5"
275config BR2_s390_g6
276 bool "g6"
277config BR2_s390_z900
278 bool "z900"
279config BR2_s390_z990
280 bool "z990"
281config BR2_s390_z9_109
282 bool "z9_109"
283endchoice
284
285choice
286 prompt "Target Architecture Variant"
287 depends BR2_ia64
288 default BR2_ia64_itanium2
289 help
290 Specific CPU variant to use
291
292config BR2_ia64_itanium1
293 bool "itanium 1"
294config BR2_ia64_itanium2
295 bool "itanium 2"
296endchoice
297
Peter Korsgaarde98ed442007-08-14 11:59:46 +0000298choice
299 prompt "Target Architecture Variant"
300 depends BR2_powerpc
301 default BR2_generic_powerpc
302 help
303 Specific CPU variant to use
304config BR2_generic_powerpc
305 bool "generic"
306config BR2_powerpc_401
307 bool "401"
308config BR2_powerpc_403
309 bool "403"
310config BR2_powerpc_405
311 bool "405"
312config BR2_powerpc_405fp
313 bool "405 with FPU"
314config BR2_powerpc_440
315 bool "440"
316config BR2_powerpc_440fp
317 bool "440 with FPU"
318config BR2_powerpc_505
319 bool "505"
320config BR2_powerpc_601
321 bool "601"
322config BR2_powerpc_602
323 bool "602"
324config BR2_powerpc_603
325 bool "603"
326config BR2_powerpc_603e
327 bool "603e"
328config BR2_powerpc_604
329 bool "604"
330config BR2_powerpc_604e
331 bool "604e"
332config BR2_powerpc_620
333 bool "620"
334config BR2_powerpc_630
335 bool "630"
336config BR2_powerpc_740
337 bool "740"
338config BR2_powerpc_7400
339 bool "7400"
340config BR2_powerpc_7450
341 bool "7450"
342config BR2_powerpc_750
343 bool "750"
344config BR2_powerpc_801
345 bool "801"
346config BR2_powerpc_821
347 bool "821"
348config BR2_powerpc_823
349 bool "823"
350config BR2_powerpc_860
351 bool "860"
352config BR2_powerpc_970
353 bool "970"
354config BR2_powerpc_8540
355 bool "8540"
356endchoice
Bernhard Reutner-Fischer7d8a59b2007-07-08 16:28:54 +0000357
Eric Andersen2d523c22004-10-09 01:06:03 +0000358config BR2_ARCH
359 string
Mike Frysingere763ae92005-09-22 06:08:52 +0000360 default "alpha" if BR2_alpha
Paul Mundtc5564f72005-05-03 13:56:36 +0000361 default "arm" if BR2_arm
362 default "armeb" if BR2_armeb
Bernhard Reutner-Fischer20290b82007-01-28 15:15:53 +0000363 default "avr32" if BR2_avr32
Paul Mundtc5564f72005-05-03 13:56:36 +0000364 default "cris" if BR2_cris
Mike Frysinger6212c192005-09-24 04:55:03 +0000365 default "i386" if BR2_x86_i386
366 default "i486" if BR2_x86_i486
367 default "i586" if BR2_x86_i586
368 default "i686" if BR2_x86_i686
Bernhard Reutner-Fischerece6fe02007-06-02 16:36:43 +0000369 default "i686" if BR2_x86_pentium4
370 default "i686" if BR2_x86_nocona
371 default "i686" if BR2_x86_core2
Bernhard Reutner-Fischer7d8a59b2007-07-08 16:28:54 +0000372 default "ia64" if BR2_ia64
Paul Mundtc5564f72005-05-03 13:56:36 +0000373 default "m68k" if BR2_m68k
374 default "mips" if BR2_mips
375 default "mipsel" if BR2_mipsel
Mike Frysingere420a882006-01-04 04:52:34 +0000376 default "nios2" if BR2_nios2
Paul Mundtc5564f72005-05-03 13:56:36 +0000377 default "powerpc" if BR2_powerpc
Bernhard Reutner-Fischer7d8a59b2007-07-08 16:28:54 +0000378 default "s390" if BR2_s390
379 default "s390" if BR2_s390x
Paul Mundtc5564f72005-05-03 13:56:36 +0000380 default "sh2a_nofpueb" if BR2_sh2a_nofpueb
Paul Mundtd66db532005-05-07 17:28:49 +0000381 default "sh2eb" if BR2_sh2eb
Paul Mundtc5564f72005-05-03 13:56:36 +0000382 default "sh3" if BR2_sh3
383 default "sh3eb" if BR2_sh3eb
384 default "sh4" if BR2_sh4
385 default "sh4eb" if BR2_sh4eb
Paul Mundtb10bfad2006-08-28 06:52:43 +0000386 default "sh64" if BR2_sh64
Paul Mundtc5564f72005-05-03 13:56:36 +0000387 default "sparc" if BR2_sparc
Mike Frysingere763ae92005-09-22 06:08:52 +0000388 default "x86_64" if BR2_x86_64
Bernhard Reutner-Fischerece6fe02007-06-02 16:36:43 +0000389 default "x86_64" if BR2_x86_64_nocona
390 default "x86_64" if BR2_x86_64_core2
391 default "x86_64" if BR2_x86_64_opteron
Bernhard Reutner-Fischer7d8a59b2007-07-08 16:28:54 +0000392 default "x86_64" if BR2_x86_64_opteron_sse3
393 default "x86_64" if BR2_x86_64_barcelona
394
Mike Frysingere763ae92005-09-22 06:08:52 +0000395
396config BR2_ENDIAN
397 string
398 default "LITTLE" if BR2_arm || BR2_cris || BR2_i386 || BR2_mipsel || \
Paul Mundtb10bfad2006-08-28 06:52:43 +0000399 BR2_sh3 || BR2_sh4 || BR2_x86_64 || BR2_nios2 || \
400 BR2_sh64
Bernhard Reutner-Fischer20290b82007-01-28 15:15:53 +0000401 default "BIG" if BR2_alpha || BR2_armeb || BR2_avr32 || BR2_m68k || BR2_mips || \
Mike Frysingere763ae92005-09-22 06:08:52 +0000402 BR2_powerpc || BR2_sh2a_nofpueb || BR2_sh2eb || \
403 BR2_sh3eb || BR2_sh4eb || BR2_sparc
Eric Andersen2d523c22004-10-09 01:06:03 +0000404
Bernhard Reutner-Fischer7d8a59b2007-07-08 16:28:54 +0000405config BR2_GCC_TARGET_TUNE
406 string
407 default i386 if BR2_x86_i386
408 default i486 if BR2_x86_i486
409 default i586 if BR2_x86_i586
410 default pentium-mmx if BR2_x86_pentium_mmx
411 default i686 if BR2_x86_i686
412 default pentiumpro if BR2_x86_pentiumpro
413 default pentium-m if BR2_x86_pentium_m
414 default pentium2 if BR2_x86_pentium2
415 default pentium3 if BR2_x86_pentium3
416 default pentium4 if BR2_x86_pentium4
417 default prescott if BR2_x86_prescott
418 default nocona if BR2_x86_nocona
419 default core2 if BR2_x86_core2
420 default k8 if BR2_x86_opteron
421 default k8-sse3 if BR2_x86_opteron_sse3
422 default barcelona if BR2_x86_barcelona
423 default k6 if BR2_x86_k6
424 default k6-2 if BR2_x86_k6_2
425 default athlon if BR2_x86_athlon
426 default athlon-4 if BR2_x86_athlon_4
427 default winchip-c6 if BR2_x86_winchip_c6
428 default winchip2 if BR2_x86_winchip2
429 default c3 if BR2_x86_c3
430 default geode if BR2_x86_geode
431 default nocona if BR2_x86_64_nocona
432 default core2 if BR2_x86_64_core2
433 default k8 if BR2_x86_64_opteron
434 default k8-sse3 if BR2_x86_64_opteron_sse3
435 default barcelona if BR2_x86_64_barcelona
436 default arm600 if BR2_arm600
437 default arm610 if BR2_arm610
438 default arm620 if BR2_arm620
439 default arm7tdmi if BR2_arm7tdmi
440 default arm7tdmi if BR2_arm720t
441 default arm7tdmi if BR2_arm740t
442 default arm920 if BR2_arm920
443 default arm920t if BR2_arm920t
444 default arm922t if BR2_arm922t
445 default arm9tdmi if BR2_arm926t
446 default arm1136j-s if BR2_arm1136j_s
447 default arm1136jf-s if BR2_arm1136jf_s
448 default arm1176jz-s if BR2_arm1176jz_s
449 default arm1176jzf-s if BR2_arm1176jzf_s
450 default strongarm110 if BR2_sa110
451 default strongarm1100 if BR2_sa1100
452 default xscale if BR2_xscale
453 default iwmmxt if BR2_iwmmxt
454 default v0 if BR2_cris_unknown
455 default v10 if BR2_cris_generic
456 default v3 if BR2_cris_etrax_4
457 default v8 if BR2_cris_etrax_100
458 default v10 if BR2_cris_etrax_100lx
459 default ev4 if BR2_alpha_21064
460 default ev5 if BR2_alpha_21164
461 default ev56 if BR2_alpha_21164a
462 default pca56 if BR2_alpha_21164pc
463 default ev6 if BR2_alpha_21264
464 default ev67 if BR2_alpha_21264a
Bernhard Reutner-Fischer6e98cd52007-07-27 13:08:47 +0000465# default itanium if BR2_ia64_itanium1
466# default itanium2 if BR2_ia64_itanium2
Bernhard Reutner-Fischer7d8a59b2007-07-08 16:28:54 +0000467 default 68000 if BR2_m68k_68000
468 default 68010 if BR2_m68k_68010
469 default 68020 if BR2_m68k_68020
470 default 68030 if BR2_m68k_68030
471 default 68040 if BR2_m68k_68040
472 default 68060 if BR2_m68k_68060
473 default mips1 if BR2_mips_1
474 default mips2 if BR2_mips_2
475 default mips3 if BR2_mips_3
476 default mips4 if BR2_mips_4
477 default mips32 if BR2_mips_32
478 default mips32r2 if BR2_mips_32r2
479 default mips64 if BR2_mips_64
480 default mips16 if BR2_mips_16
481 default 401 if BR2_powerpc_401
482 default 403 if BR2_powerpc_403
483 default 405 if BR2_powerpc_405
484 default 405fp if BR2_powerpc_405fp
485 default 440 if BR2_powerpc_440
486 default 440fp if BR2_powerpc_440fp
487 default 505 if BR2_powerpc_505
488 default 601 if BR2_powerpc_601
489 default 602 if BR2_powerpc_602
490 default 603 if BR2_powerpc_603
491 default 603e if BR2_powerpc_603e
492 default 604 if BR2_powerpc_604
493 default 604e if BR2_powerpc_604e
494 default 620 if BR2_powerpc_620
495 default 630 if BR2_powerpc_630
496 default 740 if BR2_powerpc_740
497 default 7400 if BR2_powerpc_7400
498 default 7450 if BR2_powerpc_7450
499 default 750 if BR2_powerpc_750
500 default 801 if BR2_powerpc_801
501 default 821 if BR2_powerpc_821
502 default 823 if BR2_powerpc_823
503 default 860 if BR2_powerpc_860
504 default 970 if BR2_powerpc_970
505 default 8540 if BR2_powerpc_8540
506 default cypress if BR2_sparc_cypress
507 default supersparc if BR2_sparc_supersparc
508 default hypersparc if BR2_sparc_hypersparc
509 default f930 if BR2_sparc_f930
510 default f934 if BR2_sparc_f934
511 default sparclite86x if BR2_sparc_sparclite86x
512 default tsc701 if BR2_sparc_tsc701
513 default ultrasparc if BR2_sparc_ultrasparc
514 default ultrasparc3 if BR2_sparc_ultrasparc3
515 default niagara if BR2_sparc_niagara
516 default g5 if BR2_s390_g5
517 default g6 if BR2_s390_g6
518 default z900 if BR2_s390_z900
519 default z990 if BR2_s390_z990
520 default z9-109 if BR2_s390_z9_109
521
522config BR2_GCC_TARGET_ARCH
523 string
524 default i386 if BR2_x86_i386
525 default i486 if BR2_x86_i486
526 default i586 if BR2_x86_i586
527 default pentium-mmx if BR2_x86_pentium_mmx
528 default i686 if BR2_x86_i686
529 default pentiumpro if BR2_x86_pentiumpro
530 default pentium-m if BR2_x86_pentium_m
531 default pentium2 if BR2_x86_pentium2
532 default pentium3 if BR2_x86_pentium3
533 default pentium4 if BR2_x86_pentium4
534 default prescott if BR2_x86_prescott
535 default nocona if BR2_x86_nocona
536 default core2 if BR2_x86_core2
537 default k8 if BR2_x86_opteron
538 default k8-sse3 if BR2_x86_opteron_sse3
539 default barcelona if BR2_x86_barcelona
540 default k6 if BR2_x86_k6
541 default k6-2 if BR2_x86_k6_2
542 default athlon if BR2_x86_athlon
543 default athlon-4 if BR2_x86_athlon_4
544 default winchip-c6 if BR2_x86_winchip_c6
545 default winchip2 if BR2_x86_winchip2
546 default c3 if BR2_x86_c3
547 default geode if BR2_x86_geode
548 default iwmmxt if BR2_iwmmxt
549 default v0 if BR2_cris_unknown
550 default v10 if BR2_cris_generic
551 default v3 if BR2_cris_etrax_4
552 default v8 if BR2_cris_etrax_100
553 default v10 if BR2_cris_etrax_100lx
554 default 68000 if BR2_m68k_68000
555 default 68010 if BR2_m68k_68010
556 default 68020 if BR2_m68k_68020
557 default 68030 if BR2_m68k_68030
558 default 68040 if BR2_m68k_68040
559 default 68060 if BR2_m68k_68060
560 default g5 if BR2_s390_g5
561 default g6 if BR2_s390_g6
562 default z900 if BR2_s390_z900
563 default z990 if BR2_s390_z990
564 default z9-109 if BR2_s390_z9_109
565
566config BR2_GCC_TARGET_ABI
567 string
568 default apcs-gnu if BR2_arm_dunno
569 default atpcs if BR2_arm_dunno
570 default aapcs if BR2_arm_dunno
571 default aapcs-linux if BR2_arm_dunno
572 default iwmmxt if BR2_iwmmxt
573 default 32 if BR2_mipsel && BR2_OABI
574 default n32 if BR2_mipsel && BR2_EABI
575 default o64 if BR2_mips && BR2_OABI
576 default 64 if BR2_mips && BR2_ABI64
577 default eabi if BR2_mips && BR2_EABI
578 default mmixware if BR2_mmix && BR2_ABI_native
579 default gnu if BR2_mmix && !BR2_ABI_native
580 default altivec if BR2_powerpc && BR2_ABI_altivec
581 default no-altivec if BR2_powerpc && BR2_ABI_no-altivec
582 default spe if BR2_powerpc && BR2_ABI_spe
583 default no-spe if BR2_powerpc && BR2_ABI_no-spe
584 default ibmlongdouble if BR2_powerpc && BR2_ABI_ibmlongdouble
585 default ieeelongdouble if BR2_powerpc && BR2_ABI_ieeelongdouble
586
Eric Andersen8e5fb3f2004-12-11 13:01:10 +0000587menu "Build options"
588
Eric Andersen2d523c22004-10-09 01:06:03 +0000589config BR2_WGET
Eric Andersen8e5fb3f2004-12-11 13:01:10 +0000590 string "Wget command"
Eric Andersenfb1c67c2004-10-15 07:11:54 +0000591 default "wget --passive-ftp -nd"
Eric Andersen2d523c22004-10-09 01:06:03 +0000592
Eric Andersene30cf262005-01-23 11:20:30 +0000593config BR2_SVN
Ulf Samuelsson85f54fb2007-08-24 05:31:07 +0000594 string "Subversion (svn) command to download source tree"
Eric Andersen229a7782005-06-09 09:50:11 +0000595 default "svn co"
Eric Andersene30cf262005-01-23 11:20:30 +0000596
Ulf Samuelsson85f54fb2007-08-24 05:31:07 +0000597config BR2_GIT
598 string "Git command to download source tree"
599 default "git clone"
600
Bernhard Reutner-Fischer859b9132006-10-01 15:07:45 +0000601config BR2_ZCAT
602 string "zcat command"
Bernhard Reutner-Fischera9612bf2007-03-09 08:26:10 +0000603 default "gzip -d -c"
Bernhard Reutner-Fischer859b9132006-10-01 15:07:45 +0000604 help
605 Command to be used to extract a gzip'ed file to stdout.
606 zcat is identical to gunzip -c except that the former may
607 not be available on your system.
Bernhard Reutner-Fischera9612bf2007-03-09 08:26:10 +0000608 Default is "gzip -d -c"
609 Other possible values include "gunzip -c" or "zcat".
Bernhard Reutner-Fischer6e2823c2006-11-17 15:43:51 +0000610
611config BR2_BZCAT
612 string "bzcat command"
613 default "bzcat"
614 help
615 Command to be used to extract a bzip2'ed file to stdout.
616 bzcat is identical to bunzip2 -c except that the former may
617 not be available on your system.
618 Default is "bzcat"
619 Other possible values include "bunzip2 -c" or "bzip2 -d -c".
Bernhard Reutner-Fischer859b9132006-10-01 15:07:45 +0000620
Bernhard Reutner-Fischerce90aae2005-12-10 14:59:02 +0000621config BR2_TAR_OPTIONS
622 string "Tar options"
Bernhard Reutner-Fischer7df4de62005-12-10 15:36:43 +0000623 default ""
624 help
625 Options to pass to tar when extracting the sources.
626 E.g. " -v --exclude='*.svn*'" to exclude all .svn internal files
627 and to be verbose.
Bernhard Reutner-Fischerce90aae2005-12-10 14:59:02 +0000628
Mike Frysinger59a63a92005-10-01 00:35:24 +0000629config BR2_DL_DIR
630 string "Download dir"
631 default "$(BASE_DIR)/dl"
632 help
633 Directory to store all the source files that we need to fetch.
Ulf Samuelsson67050e12007-08-21 01:28:12 +0000634 If the Linux shell environment has defined the BUILDROOT_DL_DIR
635 environment variable, then this overrides this configuration item.
Mike Frysinger59a63a92005-10-01 00:35:24 +0000636
Ulf Samuelsson840325e2007-07-31 14:59:58 +0000637source "target/device/Mirrors.in"
Bernhard Reutner-Fischer20290b82007-01-28 15:15:53 +0000638
Eric Andersenba7c48f2004-12-11 10:25:40 +0000639config BR2_STAGING_DIR
640 string "Toolchain and header file location?"
641 default "$(BUILD_DIR)/staging_dir"
642 help
Bernhard Reutner-Fischer93ab6d32007-01-28 12:03:58 +0000643 This is the location where the toolchain will be installed. The
644 toolchain will not work if it is moved from this location.
645 Therefore, if you wish to package up a uClibc toolchain, it is
646 important that is is set to the final location where the toolchain
647 will be used.
Eric Andersenba7c48f2004-12-11 10:25:40 +0000648
Bernhard Reutner-Fischer93ab6d32007-01-28 12:03:58 +0000649 Most people will leave this set to the default value of
650 "$(BUILD_DIR)/staging_dir".
Eric Andersenba7c48f2004-12-11 10:25:40 +0000651
Mike Frysingere4de8b22005-09-18 04:41:57 +0000652config BR2_TOPDIR_PREFIX
653 string "Custom build dir prefix"
654 default ""
655 help
Bernhard Reutner-Fischer93ab6d32007-01-28 12:03:58 +0000656 Add a custom string to the beginning of the build directories.
Mike Frysingere4de8b22005-09-18 04:41:57 +0000657
Bernhard Reutner-Fischer93ab6d32007-01-28 12:03:58 +0000658 build_ARCH -> [PREFIX]_build_ARCH
659 toolchain_build_ARCH -> [PREFIX]_toolchain_build_ARCH
Mike Frysingere4de8b22005-09-18 04:41:57 +0000660
661config BR2_TOPDIR_SUFFIX
662 string "Custom build dir suffix"
663 default ""
664 help
Bernhard Reutner-Fischer93ab6d32007-01-28 12:03:58 +0000665 Add a custom string to the end of the build directories.
Mike Frysingere4de8b22005-09-18 04:41:57 +0000666
Bernhard Reutner-Fischer93ab6d32007-01-28 12:03:58 +0000667 build_ARCH -> build_ARCH_[SUFFIX]
668 toolchain_build_ARCH -> toolchain_build_ARCH_[SUFFIX]
Mike Frysingere4de8b22005-09-18 04:41:57 +0000669
Mike Frysinger70ea98e2005-12-27 08:42:13 +0000670config BR2_GNU_BUILD_SUFFIX
671 string "GNU build hostname suffix"
672 default "pc-linux-gnu"
673 help
Bernhard Reutner-Fischer93ab6d32007-01-28 12:03:58 +0000674 The string used to pass to configure scripts via the
675 --build= option. Just specify the suffix here, the leading
676 arch will be filled in automatically.
Mike Frysinger70ea98e2005-12-27 08:42:13 +0000677
Bernhard Reutner-Fischer93ab6d32007-01-28 12:03:58 +0000678 Here's some copy and paste build host options for you:
Mike Frysinger70ea98e2005-12-27 08:42:13 +0000679 linux: pc-linux-gnu
680 cygwin: pc-cygwin
681 os x: apple-darwin7 / apple-darwin8
682
Paul Mundtd56e2b32006-06-05 21:49:44 +0000683config BR2_GNU_TARGET_SUFFIX
684 string "GNU target suffix"
Paul Mundt61aa8052006-06-05 22:11:01 +0000685 default "linux-uclibcgnueabi" if BR2_ARM_EABI
Paul Mundtd56e2b32006-06-05 21:49:44 +0000686 default "linux-uclibc"
687 help
Bernhard Reutner-Fischer93ab6d32007-01-28 12:03:58 +0000688 The string used to pass to configure scripts via the
689 --target= option. Just specify the suffix here, the leading
690 arch will be filled in automatically.
Paul Mundtd56e2b32006-06-05 21:49:44 +0000691
Bernhard Reutner-Fischer93ab6d32007-01-28 12:03:58 +0000692 Most users will want to stick with the default setting, though
693 other users (most notably ARM EABI) like to add on to this in
694 order to stay in line with gcc conventions.
Paul Mundtd56e2b32006-06-05 21:49:44 +0000695
Bernhard Reutner-Fischer93ab6d32007-01-28 12:03:58 +0000696 Default options are:
Bernhard Reutner-Fischerc3c100b2006-07-04 11:44:32 +0000697 linux-uclibcgnueabi for ARM EABI
698 linux-uclibc for the rest
699
Eric Andersen8e5fb3f2004-12-11 13:01:10 +0000700config BR2_JLEVEL
701 int "Number of jobs to run simultaneously"
702 default "1"
703 help
Bernhard Reutner-Fischer93ab6d32007-01-28 12:03:58 +0000704 Number of jobs to run simultaneously
705
706config BR2_PREFER_IMA
707 bool "prefer IMA compiles"
708 default n
709 help
710 Where possible, compile package with Inter Module Analysis.
711 This potentially uses alot of system resources on your compile
712 host with the benefit of creating smaller binaries for the target.
713
714 If unsure, say No.
715
716 WARNING: This is highly experimental at the moment.
717
Bernhard Reutner-Fischer7779fd72007-02-09 13:31:55 +0000718config BR2_DEPRECATED
Bernhard Reutner-Fischer5e1f0342007-02-09 13:35:41 +0000719 bool "Show packages that are deprecated or obsolete"
Bernhard Reutner-Fischer7779fd72007-02-09 13:31:55 +0000720 default n
721 help
Bernhard Reutner-Fischer5e1f0342007-02-09 13:35:41 +0000722 This option hides outdated/obsolete versions of packages.
Eric Andersenba7c48f2004-12-11 10:25:40 +0000723
Bernhard Reutner-Fischerbbd251a2007-07-31 18:06:50 +0000724choice
725 prompt "strip"
726 default BR2_STRIP_strip
727 help
728 Select whether to strip binaries and libraries for the target
729 or not.
730 strip is the normal strip command
731 sstrip is a strip that discards more than the normal strip
732 none do not strip (only for debugging!)
733
734config BR2_STRIP_strip
735 bool "strip"
736 help
737 strip is the normal strip command
Ulf Samuelsson85f54fb2007-08-24 05:31:07 +0000738
Bernhard Reutner-Fischerbbd251a2007-07-31 18:06:50 +0000739config BR2_STRIP_sstrip
740 bool "sstrip"
741 select BR2_PACKAGE_SSTRIP_HOST
742 help
743 sstrip is a strip that discards more than the normal strip
Ulf Samuelsson85f54fb2007-08-24 05:31:07 +0000744
Bernhard Reutner-Fischerbbd251a2007-07-31 18:06:50 +0000745config BR2_STRIP_none
746 bool "none"
747 help
748 none do not strip (only for debugging!)
749endchoice
750
Bernhard Reutner-Fischer3096f342007-06-01 22:16:28 +0000751config BR2_PREFER_STATIC_LIB
752 bool "prefer static libraries"
753 default n
754 help
Bernhard Reutner-Fischerece6fe02007-06-02 16:36:43 +0000755 Where possible, build and use static libraries for the target.
756 This potentially increases your code size and should only be
757 used if you know what you do.
758 The default is to build dynamic libraries and use those on
759 the target filesystem.
Bernhard Reutner-Fischer3096f342007-06-01 22:16:28 +0000760
761 WARNING: This is highly experimental at the moment.
762
Bernhard Reutner-Fischer57959312007-08-21 14:20:59 +0000763config BR2_HAVE_MANPAGES
764 bool "manpages on the target"
765 default n
766 help
767 Leave the manpages on the target.
768 If you say n here, your target will not contain any
769 manpage.
770
771config BR2_HAVE_INFOPAGES
772 bool "infopages on the target"
773 default n
774 help
775 Leave the infopages on the target.
776 If you say n here, your target will not contain any
777 infopage.
778
779source package/gnuconfig/Config.in
780
Eric Andersen8e5fb3f2004-12-11 13:01:10 +0000781endmenu
Eric Andersen2d523c22004-10-09 01:06:03 +0000782
783source "toolchain/Config.in"
784
785source "package/Config.in"
786
Eric Andersen4c4768b2004-10-09 04:34:21 +0000787source "target/Config.in"
Bernhard Reutner-Fischer7d8a59b2007-07-08 16:28:54 +0000788
789