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