[toolchain/binutils/2.21]: only enable binutils 2.21 for avr32 if BROKEN is selected
[openwrt/svn-archive/archive.git] / toolchain / binutils / Config.in
1 # Choose binutils version.
2
3 choice
4 prompt "Binutils Version" if TOOLCHAINOPTS
5 default BINUTILS_VERSION_2_19_1 if ubicom32
6 default BINUTILS_VERSION_2_20_1
7 help
8 Select the version of binutils you wish to use.
9
10 config BINUTILS_VERSION_2_19_1
11 bool "binutils 2.19.1"
12
13 config BINUTILS_VERSION_2_20_1
14 depends !ubicom32
15 bool "binutils 2.20.1"
16
17 config BINUTILS_VERSION_2_21
18 depends !ubicom32
19 depends !avr32 || (avr32 && BROKEN)
20 bool "binutils 2.21"
21
22 config BINUTILS_VERSION_CS
23 depends !avr32
24 depends !ubicom32
25 depends BROKEN
26 bool "binutils 2.19.1+20090205 with CodeSourcery enhancements"
27
28 endchoice
29
30 config EXTRA_BINUTILS_CONFIG_OPTIONS
31 string
32 prompt "Additional binutils configure options" if TOOLCHAINOPTS
33 default ""
34 help
35 Any additional binutils options you may want to include....
36
37 config BINUTILS_VERSION
38 string
39 prompt "Binutils Version" if (TOOLCHAINOPTS && NULL)
40 default "2.19.1" if BINUTILS_VERSION_2_19_1
41 default "2.20.1" if BINUTILS_VERSION_2_20_1
42 default "2.21" if BINUTILS_VERSION_2_21
43 default "2.19.1+cs" if BINUTILS_VERSION_CS
44 default "2.19.1" if ubicom32
45 default "2.20.1"