[toolchain/binutils]: add binutils 2.22
[openwrt.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_2_21_1
23                 depends !ubicom32
24                 depends !avr32 || (avr32 && BROKEN)
25                 bool "binutils 2.21.1"
26
27         config BINUTILS_VERSION_2_22
28                 depends !ubicom32
29                 depends !avr32
30                 bool "binutils 2.22"
31
32 endchoice
33
34 config EXTRA_BINUTILS_CONFIG_OPTIONS
35         string
36         prompt "Additional binutils configure options" if TOOLCHAINOPTS
37         default ""
38         help
39             Any additional binutils options you may want to include....
40
41 config BINUTILS_VERSION
42         string
43         prompt "Binutils Version" if (TOOLCHAINOPTS && NULL)
44         default "2.19.1"          if BINUTILS_VERSION_2_19_1
45         default "2.20.1"          if BINUTILS_VERSION_2_20_1
46         default "2.21"            if BINUTILS_VERSION_2_21
47         default "2.21.1"          if BINUTILS_VERSION_2_21_1
48         default "2.22"            if BINUTILS_VERSION_2_22
49         default "2.19.1"          if ubicom32
50         default "2.20.1"