1comment "Binutils Options"
2
3config BR2_PACKAGE_HOST_BINUTILS_SUPPORTS_CFI
4	bool
5	default y
6	depends on !BR2_microblaze
7
8choice
9	prompt "Binutils Version"
10	default BR2_BINUTILS_VERSION_2_41_X if !BR2_arc
11	default BR2_BINUTILS_VERSION_ARC if BR2_arc
12	help
13	  Select the version of binutils you wish to use.
14
15config BR2_BINUTILS_VERSION_2_40_X
16	bool "binutils 2.40"
17
18config BR2_BINUTILS_VERSION_2_41_X
19	bool "binutils 2.41"
20
21config BR2_BINUTILS_VERSION_ARC
22	bool "binutils arc (2.41)"
23	depends on BR2_arc
24
25config BR2_BINUTILS_VERSION_2_42_X
26	bool "binutils 2.42"
27
28endchoice
29
30config BR2_BINUTILS_VERSION
31	string
32	default "arc-2023.09-release"	if BR2_BINUTILS_VERSION_ARC
33	default "2.40"		if BR2_BINUTILS_VERSION_2_40_X
34	default "2.41"		if BR2_BINUTILS_VERSION_2_41_X
35	default "2.42"		if BR2_BINUTILS_VERSION_2_42_X
36
37config BR2_BINUTILS_GPROFNG
38	bool "gprofng support"
39	depends on !BR2_BINUTILS_VERSION_ARC
40	help
41	  This option enables support for gprofng, a new profiler.
42
43config BR2_BINUTILS_EXTRA_CONFIG_OPTIONS
44	string "Additional binutils options"
45	default ""
46	help
47	  Any additional binutils options you may want to include.
48