aboutsummaryrefslogtreecommitdiff
path: root/package/binutils/Config.in.host
blob: ec1bd17bd040da3a695650dd1ae0bbd8c0219e37 (plain)
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
comment "Binutils Options"

choice
	prompt "Binutils Version"
	depends on !BR2_arc
	default BR2_BINUTILS_VERSION_2_24
	help
	  Select the version of binutils you wish to use.

	config BR2_BINUTILS_VERSION_2_22
		depends on !BR2_aarch64 && !BR2_microblaze && \
			   !BR2_powerpc64le && !BR2_nios2
		bool "binutils 2.22"

	config BR2_BINUTILS_VERSION_2_23_2
		depends on !BR2_aarch64 && !BR2_microblaze && \
			   !BR2_powerpc64le && !BR2_nios2
		bool "binutils 2.23.2"

	config BR2_BINUTILS_VERSION_2_24
		depends on !BR2_nios2 # supported, but broken on Nios-II
		bool "binutils 2.24"

	config BR2_BINUTILS_VERSION_2_25
		bool "binutils 2.25"

endchoice

config BR2_BINUTILS_VERSION
	string
	default "arc-2014.12"	if BR2_arc
	default "2.22"		if BR2_BINUTILS_VERSION_2_22
	default "2.23.2"	if BR2_BINUTILS_VERSION_2_23_2
	default "2.24"		if BR2_BINUTILS_VERSION_2_24
	default "2.25"		if BR2_BINUTILS_VERSION_2_25

config BR2_BINUTILS_ENABLE_LTO
	bool

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