e8f1b8ff34887a8c393d760891250eff76b9b201
[openwrt/openwrt.git] / toolchain / binutils / Config.in
1 # Choose binutils version.
2
3 choice
4 prompt "Binutils Version" if TOOLCHAINOPTS
5 default BINUTILS_VERSION_2_20_1 if avr32
6 default BINUTILS_VERSION_2_22 if !avr32
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 on avr32
15 bool "binutils 2.20.1"
16
17 config BINUTILS_VERSION_2_21_1
18 depends on !avr32 || (avr32 && BROKEN)
19 bool "binutils 2.21.1"
20
21 config BINUTILS_VERSION_2_22
22 depends on !avr32 || (avr32 && BROKEN)
23 bool "binutils 2.22"
24
25 config BINUTILS_VERSION_2_23_1
26 depends on !avr32 || (avr32 && BROKEN)
27 bool "binutils 2.23.1"
28
29 endchoice
30
31 config EXTRA_BINUTILS_CONFIG_OPTIONS
32 string
33 prompt "Additional binutils configure options" if TOOLCHAINOPTS
34 default ""
35 help
36 Any additional binutils options you may want to include....
37
38 config BINUTILS_VERSION
39 string
40 prompt "Binutils Version" if (TOOLCHAINOPTS && NULL)
41 default "2.19.1" if BINUTILS_VERSION_2_19_1
42 default "2.20.1" if BINUTILS_VERSION_2_20_1
43 default "2.21.1" if BINUTILS_VERSION_2_21_1
44 default "2.22" if BINUTILS_VERSION_2_22
45 default "2.23.1" if BINUTILS_VERSION_2_23_1
46 default "2.20.1" if avr32
47 default "2.22"