xref: /OK3568_Linux_fs/buildroot/package/binutils/Config.in.host (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyuncomment "Binutils Options"
2*4882a593Smuzhiyun
3*4882a593Smuzhiyunconfig BR2_PACKAGE_HOST_BINUTILS_SUPPORTS_CFI
4*4882a593Smuzhiyun	bool
5*4882a593Smuzhiyun	default y
6*4882a593Smuzhiyun	depends on !BR2_microblaze
7*4882a593Smuzhiyun
8*4882a593Smuzhiyunconfig BR2_PACKAGE_BINUTILS_ENABLE_GOLD
9*4882a593Smuzhiyun	bool "enable gold linker"
10*4882a593Smuzhiyun
11*4882a593Smuzhiyunchoice
12*4882a593Smuzhiyun	prompt "Binutils Version"
13*4882a593Smuzhiyun	default BR2_BINUTILS_VERSION_2_38_X if !BR2_arc
14*4882a593Smuzhiyun	default BR2_BINUTILS_VERSION_ARC if BR2_arc
15*4882a593Smuzhiyun	help
16*4882a593Smuzhiyun	  Select the version of binutils you wish to use.
17*4882a593Smuzhiyun
18*4882a593Smuzhiyunconfig BR2_BINUTILS_VERSION_2_37_X
19*4882a593Smuzhiyun	bool "binutils 2.37"
20*4882a593Smuzhiyun	# AVX512FP16 instructions were not supported before binutils
21*4882a593Smuzhiyun	# 2.38
22*4882a593Smuzhiyun	depends on !BR2_X86_CPU_HAS_AVX512
23*4882a593Smuzhiyun
24*4882a593Smuzhiyunconfig BR2_BINUTILS_VERSION_2_38_X
25*4882a593Smuzhiyun	bool "binutils 2.38"
26*4882a593Smuzhiyun
27*4882a593Smuzhiyunconfig BR2_BINUTILS_VERSION_2_39_X
28*4882a593Smuzhiyun	bool "binutils 2.39"
29*4882a593Smuzhiyun
30*4882a593Smuzhiyunconfig BR2_BINUTILS_VERSION_ARC
31*4882a593Smuzhiyun	bool "binutils arc (2.34.50)"
32*4882a593Smuzhiyun	depends on BR2_arc
33*4882a593Smuzhiyun
34*4882a593Smuzhiyunendchoice
35*4882a593Smuzhiyun
36*4882a593Smuzhiyunconfig BR2_BINUTILS_VERSION
37*4882a593Smuzhiyun	string
38*4882a593Smuzhiyun	default "arc-2020.09-release"	if BR2_BINUTILS_VERSION_ARC
39*4882a593Smuzhiyun	default "2.37"		if BR2_BINUTILS_VERSION_2_37_X
40*4882a593Smuzhiyun	default "2.38"		if BR2_BINUTILS_VERSION_2_38_X
41*4882a593Smuzhiyun	default "2.39"		if BR2_BINUTILS_VERSION_2_39_X
42*4882a593Smuzhiyun
43*4882a593Smuzhiyunconfig BR2_BINUTILS_GPROFNG
44*4882a593Smuzhiyun	bool "gprofng support"
45*4882a593Smuzhiyun	depends on BR2_BINUTILS_VERSION_2_39_X
46*4882a593Smuzhiyun	help
47*4882a593Smuzhiyun	  This option enables support for gprofng, a new profiler.
48*4882a593Smuzhiyun
49*4882a593Smuzhiyunconfig BR2_BINUTILS_EXTRA_CONFIG_OPTIONS
50*4882a593Smuzhiyun	string "Additional binutils options"
51*4882a593Smuzhiyun	default ""
52*4882a593Smuzhiyun	help
53*4882a593Smuzhiyun	  Any additional binutils options you may want to include.
54