2009-05-20 20:13:13 +00:00
|
|
|
# binutils options
|
|
|
|
|
|
|
|
comment "GNU binutils"
|
|
|
|
|
|
|
|
choice
|
|
|
|
bool
|
|
|
|
prompt "binutils version"
|
2009-09-13 16:38:06 +00:00
|
|
|
# Don't remove next line
|
|
|
|
# CT_INSERT_VERSION_BELOW
|
2009-05-20 20:13:13 +00:00
|
|
|
|
2009-10-27 19:06:46 +00:00
|
|
|
config BINUTILS_V_2_20
|
|
|
|
bool
|
|
|
|
prompt "2.20"
|
|
|
|
|
2009-09-13 15:51:33 +00:00
|
|
|
config BINUTILS_V_2_19_1
|
2009-05-20 20:13:13 +00:00
|
|
|
bool
|
2009-09-13 15:51:33 +00:00
|
|
|
prompt "2.19.1"
|
2009-05-20 20:13:13 +00:00
|
|
|
|
2009-09-13 15:51:33 +00:00
|
|
|
config BINUTILS_V_2_19
|
2009-05-20 20:13:13 +00:00
|
|
|
bool
|
2009-09-13 15:51:33 +00:00
|
|
|
prompt "2.19"
|
2009-05-20 20:13:13 +00:00
|
|
|
|
2009-09-13 15:51:33 +00:00
|
|
|
config BINUTILS_V_2_18
|
2009-05-20 20:13:13 +00:00
|
|
|
bool
|
2009-09-13 15:51:33 +00:00
|
|
|
prompt "2.18"
|
2009-05-20 20:13:13 +00:00
|
|
|
|
2009-09-13 15:51:33 +00:00
|
|
|
config BINUTILS_V_2_17
|
2009-05-20 20:13:13 +00:00
|
|
|
bool
|
2009-10-28 18:15:50 +00:00
|
|
|
prompt "2.17 (OBSOLETE)"
|
|
|
|
depends on OBSOLETE
|
2009-05-20 20:13:13 +00:00
|
|
|
|
2009-09-13 15:51:33 +00:00
|
|
|
config BINUTILS_V_2_16_1
|
2009-05-20 20:13:13 +00:00
|
|
|
bool
|
2009-10-28 18:15:50 +00:00
|
|
|
prompt "2.16.1 (OBSOLETE)"
|
|
|
|
depends on OBSOLETE
|
2009-05-20 20:13:13 +00:00
|
|
|
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
config BINUTILS_VERSION
|
|
|
|
string
|
2009-09-13 16:38:06 +00:00
|
|
|
# Don't remove next line
|
|
|
|
# CT_INSERT_VERSION_STRING_BELOW
|
2009-10-27 19:06:46 +00:00
|
|
|
default "2.20" if BINUTILS_V_2_20
|
2009-09-13 15:51:33 +00:00
|
|
|
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
|
2009-05-20 20:13:13 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
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
|
|
|
|
|
2010-02-09 21:50:53 +00:00
|
|
|
config BINUTILS_TARGET_USE_GMP_MPFR
|
|
|
|
bool
|
|
|
|
prompt "Use GMP and MPFR"
|
|
|
|
default n
|
2010-02-17 22:47:47 +00:00
|
|
|
select GMP
|
|
|
|
select MPFR
|
2010-02-18 19:43:31 +00:00
|
|
|
select COMPLIBS_TARGET
|
2010-02-09 21:50:53 +00:00
|
|
|
help
|
|
|
|
binutils can be configured to use GMP and MPFR.
|
|
|
|
While this is automatically handled for the cross-binutils,
|
|
|
|
You have to explicitly state so for the native libraries that
|
|
|
|
will run on the target.
|
|
|
|
|
2009-05-20 20:13:13 +00:00
|
|
|
endif # BINUTILS_FOR_TARGET
|