- echo "******************************************************************"
- echo "* Configuring ${NEWLIB}"
- echo "******************************************************************"
- ../${NEWLIB}/configure --target=${TARGET} \
- --prefix=${PREFIX} \
- --enable-interwork \
- --enable-multilib \
- --with-gnu-as \
- --with-gnu-ld \
- --disable-nls \
- --disable-werror \
- --disable-newlib-supplied-syscalls || exit
- echo "******************************************************************"
- echo "* Building ${NEWLIB}"
- echo "******************************************************************"
- make ${PARALLEL} || exit
- echo "******************************************************************"
- echo "* Installing ${NEWLIB}"
- echo "******************************************************************"
- make install || exit
- cd ..
- echo "******************************************************************"
- echo "* Cleaning up ${NEWLIB}"
- echo "******************************************************************"
- touch .${NEWLIB}.build
- rm -rf build/* ${NEWLIB}
-fi
-
-# Yes, you need to build gcc again!
-if [ ! -e .${GCC}.build ]; then
- echo "******************************************************************"
- echo "* Unpacking ${GCC}"
- echo "******************************************************************"
- tar xfvj ${SOURCES}/${GCC}.tar.bz2
- cd build
- echo "******************************************************************"
- echo "* Configuring ${GCC}"
- echo "******************************************************************"
- ../${GCC}/configure --target=${TARGET} \