summaryrefslogtreecommitdiff
path: root/misc/buildroot/toolchain/binutils/Config.in
blob: 96cff013fc405b98e068a223c954a361028c4af1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# Choose binutils version.

comment "Binutils Options"

choice
	prompt "Binutils Version"
	default BR2_BINUTILS_VERSION_2_19_1 if BR2_cortex_m3 || BR2_cortex_m0
	default BR2_BINUTILS_VERSION_2_19 if !BR2_avr32 && !BR2_cortex_m3 && !BR2_cortex_m0 && !BR2_m9s12x
	default BR2_BINUTILS_VERSION_2_18 if BR2_m9s12x
	default BR2_BINUTILS_VERSION_2_17 if !BR2_cortex_m3 && !BR2_cortex_m0 && !BR2_m9s12x
	help
	  Select the version of binutils you wish to use.

	config BR2_BINUTILS_VERSION_2_17
		depends !BR2_nios2 && !BR2_cortex_m3 && !BR2_cortex_m0 && !BR2_m9s12x
		bool "binutils 2.17"

	config BR2_BINUTILS_VERSION_2_18
		depends !BR2_avr32 && !BR2_nios2 && !BR2_cortex_m3 && !BR2_cortex_m0
		bool "binutils 2.18"

	config BR2_BINUTILS_VERSION_2_19
		depends !BR2_avr32 && !BR2_nios2 && !BR2_cortex_m3 && !BR2_cortex_m0 &&!BR2_m9s12x
		bool "binutils 2.19"

	config BR2_BINUTILS_VERSION_2_19_1
		depends !BR2_avr32 && !BR2_nios2 && !BR2_m9s12x
		bool "binutils 2.19.1"

	config BR2_BINUTILS_VERSION_2_21_1
		depends !BR2_avr32 && !BR2_nios2 && !BR2_m9s12x
		bool "binutils 2.21.1"

	config BR2_BINUTILS_VERSION_2_22
		depends !BR2_avr32 && !BR2_nios2 && !BR2_m9s12x
		bool "binutils 2.22"
endchoice

config BR2_BINUTILS_VERSION
	string
	default "2.17"            if BR2_BINUTILS_VERSION_2_17
	default "2.18"            if BR2_BINUTILS_VERSION_2_18
	default "2.19"            if BR2_BINUTILS_VERSION_2_19
	default "2.19.1"          if BR2_BINUTILS_VERSION_2_19_1
	default "2.21.1"          if BR2_BINUTILS_VERSION_2_21_1
	default "2.22"            if BR2_BINUTILS_VERSION_2_22

config BR2_EXTRA_BINUTILS_CONFIG_OPTIONS
	string "Additional binutils options"
	default ""
	help
	  Any additional binutils options you may want to include ...