diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-01-29 21:43:28 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2010-01-29 21:43:28 (GMT) |
commit | 9e595444f47319887d13d415a1f71172f3bfcf22 (patch) | |
tree | beff74046c8598b737b549b2dd39ae6ca7b2f6bc /scripts/build | |
parent | 6d70a576da25fd92b00527df7efef4c3ad892a92 (diff) |
binutils/elf2flt: activate elf2flt build
The code has been lying around inactivated for some time.
Let's enable it at last, and see if any one needs it.
Diffstat (limited to 'scripts/build')
-rw-r--r-- | scripts/build/binutils/elf2flt.sh | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/scripts/build/binutils/elf2flt.sh b/scripts/build/binutils/elf2flt.sh index b3947a9..aa7f0e0 100644 --- a/scripts/build/binutils/elf2flt.sh +++ b/scripts/build/binutils/elf2flt.sh @@ -3,6 +3,13 @@ # Copyright 2007 Yann E. MORIN # Licensed under the GPL v2. See COPYING in the root of this package +# Default: do nothing +do_elf2flt_get() { :; } +do_elf2flt_extract() { :; } +do_elf2flt() { :; } + +if [ -n "${CT_ARCH_BINFMT_FLAT}" ]; then + # Download elf2flt do_elf2flt_get() { CT_GetCVS "elf2flt-cvs-${CT_ELF2FLT_VERSION}" \ @@ -20,7 +27,6 @@ do_elf2flt_extract() { # Build elf2flt do_elf2flt() { - [ -z ${CT_KERNEL_UCLINUX_BINFMT_FLAT} ] && return 0 mkdir -p "${CT_BUILD_DIR}/build-elf2flt" cd "${CT_BUILD_DIR}/build-elf2flt" @@ -67,3 +73,5 @@ do_elf2flt() { CT_EndStep } + +fi # CT_ARCH_BINFMT_FLAT |