mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-21 13:47:48 +00:00
aac53cf32c
Add BINUTILS_2_21_or_later blind option. It will be used to add conditional support for building 'gold' on versions that have it. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
95 lines
1.7 KiB
Plaintext
95 lines
1.7 KiB
Plaintext
# binutils options
|
|
|
|
comment "GNU binutils"
|
|
|
|
choice
|
|
bool
|
|
prompt "binutils version"
|
|
# Don't remove next line
|
|
# CT_INSERT_VERSION_BELOW
|
|
|
|
config BINUTILS_V_2_21
|
|
bool
|
|
depends on EXPERIMENTAL
|
|
prompt "2.21"
|
|
select BINUTILS_2_21_or_later
|
|
|
|
config BINUTILS_V_2_20_1
|
|
bool
|
|
prompt "2.20.1"
|
|
|
|
config BINUTILS_V_2_20
|
|
bool
|
|
prompt "2.20"
|
|
|
|
config BINUTILS_V_2_19_1
|
|
bool
|
|
prompt "2.19.1"
|
|
|
|
config BINUTILS_V_2_19
|
|
bool
|
|
prompt "2.19"
|
|
|
|
config BINUTILS_V_2_18
|
|
bool
|
|
prompt "2.18"
|
|
|
|
config BINUTILS_V_2_17
|
|
bool
|
|
prompt "2.17 (OBSOLETE)"
|
|
depends on OBSOLETE
|
|
|
|
config BINUTILS_V_2_16_1
|
|
bool
|
|
prompt "2.16.1 (OBSOLETE)"
|
|
depends on OBSOLETE
|
|
|
|
endchoice
|
|
|
|
config BINUTILS_VERSION
|
|
string
|
|
# Don't remove next line
|
|
# CT_INSERT_VERSION_STRING_BELOW
|
|
default "2.21" if BINUTILS_V_2_21
|
|
default "2.20.1" if BINUTILS_V_2_20_1
|
|
default "2.20" if BINUTILS_V_2_20
|
|
default "2.19.1" if BINUTILS_V_2_19_1
|
|
default "2.19" if BINUTILS_V_2_19
|
|
default "2.18" if BINUTILS_V_2_18
|
|
default "2.17" if BINUTILS_V_2_17
|
|
default "2.16.1" if BINUTILS_V_2_16_1
|
|
|
|
config BINUTILS_2_21_or_later
|
|
bool
|
|
|
|
config BINUTILS_EXTRA_CONFIG
|
|
string
|
|
prompt "binutils extra config"
|
|
default ""
|
|
help
|
|
Extra flags passed onto ./configure when configuring
|
|
|
|
config BINUTILS_FOR_TARGET
|
|
bool
|
|
prompt "binutils libraries for the target"
|
|
depends on ! BARE_METAL
|
|
depends on ! BACKEND
|
|
default n
|
|
help
|
|
Some utilities may need binutils libraries to be available on
|
|
the target, eg. oprofile.
|
|
|
|
if BINUTILS_FOR_TARGET
|
|
|
|
config BINUTILS_FOR_TARGET_IBERTY
|
|
bool
|
|
prompt "libiberty"
|
|
default y
|
|
|
|
config BINUTILS_FOR_TARGET_BFD
|
|
bool
|
|
prompt "libbfd"
|
|
default y
|
|
|
|
endif # BINUTILS_FOR_TARGET
|