crosstool-ng/config/binutils/binutils.in.2
Alexey Neyman 973664c906 Forgot to saveconfig the changes for ARM/elf2flt sample
Hence, it is better to enforce via config rules: elf2flt does not
play nice with ld wrapper, when both ld.bfd and ld.gold are present.
Limit the choices to just 'ld.bfd' for flat-format architectures.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-02-09 21:21:57 -08:00

83 lines
1.9 KiB
Groff

# elf2flt options
if ARCH_BINFMT_FLAT
config ELF2FLT_REQUIRES
def_bool y
select ZLIB
select BINUTILS_FORCE_LD_BFD_ONLY
comment "elf2flt"
choice
bool
prompt "elf2flt version"
config ELF2FLT_GIT
bool
prompt "git"
depends on CONFIGURE_has_git
help
Grab the latest version of elf2flt from the CVS repository
config ELF2FLT_CUSTOM
bool
prompt "Custom elf2flt"
depends on EXPERIMENTAL || !CONFIGURE_has_git
help
The choosen elf2flt version shall be not downloaded. Instead use
a custom location to get the source.
endchoice
if ELF2FLT_GIT
config ELF2FLT_GIT_CSET
string
prompt "git cset"
default "4820f0dbb77cd6564d5fa0817218fe2a1fb99f32"
help
Enter the git changeset to use.
The default currently points to the HEAD of the git tree.
endif # ELF2FLT_GIT
config ELF2FLT_VERSION
string
default ELF2FLT_GIT_CSET if ELF2FLT_GIT
default ELF2FLT_CUSTOM_VERSION if ELF2FLT_CUSTOM
if ELF2FLT_CUSTOM
config ELF2FLT_CUSTOM_LOCATION
string
prompt "Full path to custom elf2flt source"
help
Enter the path to the directory or tarball of your source for elf2flt.
If the path is a tarball, it should extract to: <name>-<version>/
where the name is this component, elf2flt, and the version is set
below in the custom version string.
config ELF2FLT_CUSTOM_VERSION
string
prompt "elf2flt custom version number"
help
Enter the version number for your custom elf2flt.
endif # ELF2FLT_CUSTOM
config ELF2FLT_EXTRA_CONFIG_ARRAY
string
prompt "elf2flt extra config"
default ""
help
Extra flags passed onto ./configure when configuring
You can enter multiple arguments here, and arguments can contain spaces
if they are properly quoted (or escaped, but prefer quotes). Eg.:
--with-foo="1st arg with 4 spaces" --with-bar=2nd-arg-without-space
endif # ARCH_BINFMT_FLAT