added elf2flt in the mix

This commit is contained in:
Dave Murphy
2006-04-10 02:44:06 +00:00
parent 6f9155feca
commit 13c832ff42
2 changed files with 42 additions and 4 deletions

View File

@@ -20,6 +20,25 @@ cd $target/binutils
$MAKE || { echo "Error building binutils"; exit 1; }
$MAKE install || { echo "Error installing binutils"; exit 1; }
cd $BUILDSCRIPTDIR
#---------------------------------------------------------------------------------
# build and install elf2flt
#---------------------------------------------------------------------------------
mkdir -p $target/elf2flt
cd $target/elf2flt
../../elf2flt/configure \
--prefix=$prefix --target=$target \
--with-libbfd=../binutils/bfd/libbfd.a \
--with-libiberty=../binutils/libiberty/libiberty.a \
--with-bfd-include-dir=../binutils/bfd/ \
--with-binutils-include-dir=../../$BINUTILS_SRCDIR/include/ \
|| { echo "Error configuring elf2flt"; exit 1; }
$MAKE || { echo "Error building elf2flt"; exit 1; }
$MAKE install || { echo "Error installing elf2flt"; exit 1; }
cd $BUILDSCRIPTDIR
#---------------------------------------------------------------------------------
@@ -27,6 +46,8 @@ cd $BUILDSCRIPTDIR
#---------------------------------------------------------------------------------
rm -fr $target/binutils
rm -fr $BINUTILS_SRCDIR
rm -fr $target/elf2flt
rm -fr elf2flt
#---------------------------------------------------------------------------------
# build and install just the c compiler