binutils: fix build errors in 2.20 (patch from #6094)
[openwrt-10.03/.git] / toolchain / binutils / Config.in
1 # Choose binutils version.
2
3 choice
4         prompt "Binutils Version" if TOOLCHAINOPTS
5         default BINUTILS_VERSION_2_18 if avr32
6         default BINUTILS_VERSION_2_19_1
7         help
8           Select the version of binutils you wish to use.
9
10         config BINUTILS_VERSION_2_18
11                 bool "binutils 2.18"
12
13         config BINUTILS_VERSION_2_19_1
14                 depends !avr32
15                 bool "binutils 2.19.1"
16
17         config BINUTILS_VERSION_2_20
18                 depends !avr32
19                 depends !ubicom32
20                 bool "binutils 2.20"
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.18"            if BINUTILS_VERSION_2_18
41         default "2.19.1"          if BINUTILS_VERSION_2_19_1
42         default "2.20"            if BINUTILS_VERSION_2_20
43         default "2.19.1+cs"       if BINUTILS_VERSION_CS
44         default "2.18"            if avr32
45         default "2.19.1"