# HG changeset patch # User "Yann E. MORIN" # Date 1264801408 -3600 # Node ID 30d91bfc1f2a39af6dcd88d35f33a467b2469b9a # Parent fe497dd5bec190e58b5732470396afec7a911153 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. diff -r fe497dd5bec1 -r 30d91bfc1f2a scripts/build/binutils/elf2flt.sh --- a/scripts/build/binutils/elf2flt.sh Fri Jan 29 23:23:59 2010 +0100 +++ b/scripts/build/binutils/elf2flt.sh Fri Jan 29 22:43:28 2010 +0100 @@ -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 @@ # 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 @@ CT_EndStep } + +fi # CT_ARCH_BINFMT_FLAT diff -r fe497dd5bec1 -r 30d91bfc1f2a scripts/crosstool-NG.sh.in --- a/scripts/crosstool-NG.sh.in Fri Jan 29 23:23:59 2010 +0100 +++ b/scripts/crosstool-NG.sh.in Fri Jan 29 22:43:28 2010 +0100 @@ -502,6 +502,7 @@ do_cloog_get do_mpc_get do_binutils_get + do_elf2flt_get do_cc_get do_libc_get do_tools_get @@ -530,6 +531,7 @@ do_cloog_extract do_mpc_extract do_binutils_extract + do_elf2flt_extract do_cc_extract do_libc_extract do_tools_extract