# Choose binutils version.

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

	config BINUTILS_USE_VERSION_2_27
		depends on !arc
		bool "Binutils 2.27"
		select BINUTILS_VERSION_2_27

	config BINUTILS_USE_VERSION_2_29_ARC
		depends on arc
		bool "ARC binutils 2.29"
		select BINUTILS_VERSION_2_29_ARC

	config BINUTILS_USE_VERSION_2_29_1
		depends on !arc
		bool "Binutils 2.29.1"
		select BINUTILS_VERSION_2_29_1

	config BINUTILS_USE_VERSION_2_30
		depends on !arc
		bool "Binutils 2.30"
		select BINUTILS_VERSION_2_30

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....
