# Choose binutils version.

choice
	prompt "Binutils Version" if TOOLCHAINOPTS
	default BINUTILS_USE_VERSION_2_25_1 if !arc
	default BINUTILS_USE_VERSION_2_26_ARC if arc
	help
	  Select the version of binutils you wish to use.

	config BINUTILS_USE_VERSION_2_24_LINARO
		depends on !arc
		bool "Linaro binutils 2.24"
		select BINUTILS_VERSION_2_24_LINARO

	config BINUTILS_USE_VERSION_2_25_1
		depends on !arc
		bool "Binutils 2.25.1"
		select BINUTILS_VERSION_2_25_1

	config BINUTILS_USE_VERSION_2_26_1
		depends on !arc
		bool "Binutils 2.26.1"
		select BINUTILS_VERSION_2_26_1

	config BINUTILS_USE_VERSION_2_26_ARC
		depends on arc
		bool "ARC binutils 2.26"
		select BINUTILS_VERSION_2_26_ARC

endchoice

config EXTRA_BINUTILS_CONFIG_OPTIONS
	string
	prompt "Additional binutils configure options" if TOOLCHAINOPTS
	default ""
	help
	    Any additional binutils options you may want to include....
