summaryrefslogtreecommitdiff
path: root/package/binutils/Config.in.host
blob: e42918e9fa1c8315dab632b0a510c2977bde2808 (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
45
46
47
48
49
50
51
comment "Binutils Options"

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

	config BR2_BINUTILS_VERSION_2_23_X
		depends on !BR2_aarch64 && !BR2_microblaze && \
			   !BR2_powerpc64le && !BR2_nios2
		# Unsupported for MIPS R6
		depends on !BR2_mips_32r6 && !BR2_mips_64r6
		# Unsupported ARM cores
		depends on !BR2_cortex_a17
		bool "binutils 2.23.2"

	config BR2_BINUTILS_VERSION_2_24_X
		# supported, but broken on Nios-II and powerpc64le
		depends on !BR2_nios2 && !BR2_powerpc64le
		# Unsupported for MIPS R6
		depends on !BR2_mips_32r6 && !BR2_mips_64r6
		# Unsupported ARM cores
		depends on !BR2_cortex_a17
		bool "binutils 2.24"

	config BR2_BINUTILS_VERSION_2_25_X
		bool "binutils 2.25.1"

	config BR2_BINUTILS_VERSION_2_26_X
		bool "binutils 2.26"

endchoice

config BR2_BINUTILS_VERSION
	string
	default "arc-2015.12"	if BR2_arc
	default "2.23.2"	if BR2_BINUTILS_VERSION_2_23_X
	default "2.24"		if BR2_BINUTILS_VERSION_2_24_X
	default "2.25.1"	if BR2_BINUTILS_VERSION_2_25_X
	default "2.26"		if BR2_BINUTILS_VERSION_2_26_X

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.