summaryrefslogtreecommitdiffstats
path: root/package/binutils/Config.in.host
blob: 924d1749cd56277b63c3b0455fa3d70956996945 (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
52
53
comment "Binutils Options"

config BR2_PACKAGE_HOST_BINUTILS_SUPPORTS_CFI
	bool
	default y
	depends on !BR2_microblaze
	depends on !(BR2_nios2 && (BR2_BINUTILS_VERSION_2_28_X || BR2_BINUTILS_VERSION_2_29_X))

choice
	prompt "Binutils Version"
	default BR2_BINUTILS_VERSION_2_28_X if BR2_ARM_INSTRUCTIONS_THUMB
	default BR2_BINUTILS_VERSION_2_28_X if BR2_ARM_INSTRUCTIONS_THUMB2
	default BR2_BINUTILS_VERSION_2_29_X if !BR2_arc
	default BR2_BINUTILS_VERSION_ARC if BR2_arc
	help
	  Select the version of binutils you wish to use.

config BR2_BINUTILS_VERSION_2_28_X
	bool "binutils 2.28.1"
	depends on !BR2_arc
	depends on !BR2_riscv

config BR2_BINUTILS_VERSION_2_29_X
	bool "binutils 2.29.1"
	depends on !BR2_riscv

config BR2_BINUTILS_VERSION_2_30_X
	bool "binutils 2.30"

config BR2_BINUTILS_VERSION_2_31_X
	bool "binutils 2.31.1"

config BR2_BINUTILS_VERSION_ARC
	bool "binutils arc (2.31)"
	depends on BR2_arc
endchoice

config BR2_BINUTILS_VERSION
	string
	default "arc-2018.09-release"	if BR2_BINUTILS_VERSION_ARC
	default "2.28.1"	if BR2_BINUTILS_VERSION_2_28_X
	default "2.29.1"	if BR2_BINUTILS_VERSION_2_29_X
	default "2.30"		if BR2_BINUTILS_VERSION_2_30_X
	default "2.31.1"	if BR2_BINUTILS_VERSION_2_31_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.
OpenPOWER on IntegriCloud