scripts/build/binutils/elf2flt.sh
changeset 1761 88020b2c3246
parent 1345 27fec561af53
child 1901 bdb3a98e064b
     1.1 --- a/scripts/build/binutils/elf2flt.sh	Wed May 20 20:13:13 2009 +0000
     1.2 +++ b/scripts/build/binutils/elf2flt.sh	Tue Jan 12 19:24:03 2010 +0100
     1.3 @@ -3,6 +3,13 @@
     1.4  # Copyright 2007 Yann E. MORIN
     1.5  # Licensed under the GPL v2. See COPYING in the root of this package
     1.6  
     1.7 +# Default: do nothing
     1.8 +do_elf2flt_get()     { :; }
     1.9 +do_elf2flt_extract() { :; }
    1.10 +do_elf2flt()         { :; }
    1.11 +
    1.12 +if [ -n "${CT_ARCH_BINFMT_FLAT}" ]; then
    1.13 +
    1.14  # Download elf2flt
    1.15  do_elf2flt_get() {
    1.16      CT_GetCVS "elf2flt-cvs-${CT_ELF2FLT_VERSION}"           \
    1.17 @@ -20,7 +27,6 @@
    1.18  
    1.19  # Build elf2flt
    1.20  do_elf2flt() {
    1.21 -    [ -z ${CT_KERNEL_UCLINUX_BINFMT_FLAT} ] && return 0
    1.22      mkdir -p "${CT_BUILD_DIR}/build-elf2flt"
    1.23      cd "${CT_BUILD_DIR}/build-elf2flt"
    1.24  
    1.25 @@ -67,3 +73,5 @@
    1.26  
    1.27      CT_EndStep
    1.28  }
    1.29 +
    1.30 +fi # CT_ARCH_BINFMT_FLAT