crosstool-ng/config/binutils/elf2flt.in
David Holsgrove 33d3919c3e binutils/elf2flt: Add CUSTOM version, CUSTOM_LOCATION config options, GetCustom
CUSTOM_LOCATION config options only presented in menuconfig if component
CUSTOM version selected.

Change elf2flt CT_ELF2FLT_VERSION from 'head' to 'cvs' if cvs selected in config

Also remove hardcoded 'cvs-' from elf2flt component name, used in CT_Extract,
CT_Patch and as the CT_SRC_DIR location for the configure stage.

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>
[yann.morin.1998@free.fr: fix indentation, don't patch custom dir location]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Message-Id: <288db3721a37844defa5.1349931196@localhost.localdomain>
PatchWork-Id: 190789
2012-10-11 14:39:42 +10:00

73 lines
1.6 KiB
Plaintext

# elf2flt options
if ARCH_BINFMT_FLAT
comment "elf2flt"
choice
bool
prompt "elf2flt version"
# Don't remove next line
# CT_INSERT_VERSION_BELOW
config ELF2FLT_CVSHEAD
bool
prompt "CVS Head"
help
Grab the latest version of elf2flt from the CVS repository
config ELF2FLT_CVS_SNAPSHOT
bool
prompt "CVS Snapshot"
config ELF2FLT_CUSTOM
bool
prompt "Custom elf2flt"
depends on EXPERIMENTAL
endchoice
if ELF2FLT_CUSTOM
config ELF2FLT_CUSTOM_LOCATION
string
prompt "Full path to custom elf2flt source"
default ""
help
Enter the path to the directory (or tarball) of your source for elf2flt,
or leave blank to use default CT_CUSTOM_LOCATION_ROOT_DIR/elf2flt
endif # ELF2FLT_CUSTOM
if ! ELF2FLT_CUSTOM
config ELF2FLT_CVS_SNAPSHOT_SPEC
string
depends on ELF2FLT_CVS_SNAPSHOT
default ""
prompt "CVS refspec for elf2flt"
help
What you enter here will be passed verbatim to the cvs checkout command
so be careful!
endif # ! ELF2FLT_CUSTOM
config ELF2FLT_VERSION
string
default "cvs" if ELF2FLT_CVSHEAD
default "custom" if ELF2FLT_CUSTOM
# Don't remove next line
# CT_INSERT_VERSION_STRING_BELOW
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