comment "Binutils Options"

choice
	prompt "Binutils Version"
	default BR2_BINUTILS_VERSION_2_27_X
	default BR2_BINUTILS_VERSION_2_28_X if (BR2_arm && !BR2_USE_MMU)
	depends on !BR2_arc
	help
	  Select the version of binutils you wish to use.

config BR2_BINUTILS_VERSION_2_26_X
	bool "binutils 2.26.1"

config BR2_BINUTILS_VERSION_2_27_X
	bool "binutils 2.27"
	# binutils 2.27 triggers a bug in elf2flt on ARM/noMMU
	depends on !(BR2_arm && !BR2_USE_MMU)

config BR2_BINUTILS_VERSION_2_28_X
	bool "binutils 2.28"

endchoice

config BR2_BINUTILS_VERSION
	string
	default "arc-2017.03"	if BR2_arc
	default "2.26.1"	if BR2_BINUTILS_VERSION_2_26_X
	default "2.27"		if BR2_BINUTILS_VERSION_2_27_X
	default "2.28"		if BR2_BINUTILS_VERSION_2_28_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.