crosstool-ng/config/binutils/binutils.in.2
Alexey Neyman 8dff7012be Check for git presence
... and make the optiont that fetch from Git repositories depend on
the git discovery.

Signed-off-by: Alexey Neyman <stilor@att.net>
2017-01-23 18:25:15 -08:00

78 lines
1.8 KiB
Groff

# elf2flt options
if ARCH_BINFMT_FLAT
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 "9dbc458c6122c495bbdec8dc975a15c9d39e5ff2"
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