From 9705ec34cff5494d99ec9b8fb146fa5f55f84da3 Mon Sep 17 00:00:00 2001 From: Yann Diorcet Date: Mon, 19 Nov 2012 11:21:31 +0100 Subject: binutils: introduce the infrastructure to support binutils alternatives Rework binutils in order to provide soon binutils alternative. Signed-off-by: Yann Diorcet [yann.morin.1998@free.fr: split up original patch for self-contained changes] Signed-off-by: "Yann E. MORIN" Message-Id: Patchwork-Id: 199971 --- config/binutils/binutils.in.2 | 56 +++++++++++++++++++++++++++++++++++++++++++ config/binutils/elf2flt.in | 56 ------------------------------------------- 2 files changed, 56 insertions(+), 56 deletions(-) create mode 100644 config/binutils/binutils.in.2 delete mode 100644 config/binutils/elf2flt.in (limited to 'config/binutils') diff --git a/config/binutils/binutils.in.2 b/config/binutils/binutils.in.2 new file mode 100644 index 00000000..0e74886d --- /dev/null +++ b/config/binutils/binutils.in.2 @@ -0,0 +1,56 @@ +# 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_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 + +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 diff --git a/config/binutils/elf2flt.in b/config/binutils/elf2flt.in deleted file mode 100644 index 0e74886d..00000000 --- a/config/binutils/elf2flt.in +++ /dev/null @@ -1,56 +0,0 @@ -# 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_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 - -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 -- cgit v1.2.3