mirror of
git://git.openwrt.org/openwrt/openwrt.git
synced 2024-12-13 02:14:53 +00:00
19a6b0fa95
Currently, we can specify extra configure options for gcc, but not binutils. This change adds an EXTRA_BINUTILS_CONFIG_OPTIONS config variable, so we can add configure options for binutils. Signed-off-by: Jeremy Kerr <jk@ozlabs.org> SVN-Revision: 9407
32 lines
685 B
Plaintext
32 lines
685 B
Plaintext
# Choose binutils version.
|
|
|
|
choice
|
|
prompt "Binutils Version" if TOOLCHAINOPTS
|
|
default BINUTILS_VERSION_2_17
|
|
help
|
|
Select the version of binutils you wish to use.
|
|
|
|
config BINUTILS_VERSION_2_16_1
|
|
bool "binutils 2.16.1"
|
|
|
|
config BINUTILS_VERSION_2_17
|
|
bool "binutils 2.17"
|
|
|
|
endchoice
|
|
|
|
config EXTRA_BINUTILS_CONFIG_OPTIONS
|
|
string
|
|
prompt "Additional binutils options" if TOOLCHAINOPTS
|
|
default ""
|
|
help
|
|
Any additional binutils options you may want to include....
|
|
|
|
config BINUTILS_VERSION
|
|
string
|
|
prompt "Binutils Version" if (TOOLCHAINOPTS && NULL)
|
|
default "2.16.1" if BINUTILS_VERSION_2_16_1
|
|
default "2.17" if BINUTILS_VERSION_2_17
|
|
default "2.17"
|
|
|
|
|