buildgcc: drop hack to build gcc trunk versions

The focus of the script is to create a supported cross toolchain,
and with GOLD and LTO being released features, we don't need this
anymore.

Change-Id: Ieb7752ce6e143d93414aba5887190f853cbd5a4b
Signed-off-by: Stefan Reinauer <reinauer@google.com>
Reviewed-on: http://review.coreboot.org/1997
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Tested-by: build bot (Jenkins)
This commit is contained in:
Stefan Reinauer 2012-12-07 23:50:01 +01:00
parent 969cd931f8
commit a348d901c7
1 changed files with 0 additions and 17 deletions

View File

@ -234,23 +234,6 @@ fi
USE_GOLD=""
GCC_OPTIONS="--enable-lto"
if [ ${GCC_VERSION} = "trunk" ]; then
if [ ! -r tarballs/gcc-core-${GCC_VERSION}.tar.bz2 ]; then
printf "Pre-Release GCC ${GCC_VERSION}, checking out subversion trunk\n"
mkdir -p tarballs/.tmp
cd tarballs/.tmp
rm -rf gcc-${GCC_VERSION}
svn export -q svn://gcc.gnu.org/svn/gcc/trunk gcc-${GCC_VERSION}
printf "done. Now creating tar ball...\n"
tar cjf ../gcc-core-${GCC_VERSION}.tar.bz2 gcc-${GCC_VERSION}
printf "done. Now cleaning up...\n"
cd ..
rm -rf .tmp
cd ..
printf "done.\n"
fi
fi
printf "Downloading tar balls ... \n"
mkdir -p tarballs
for ARCHIVE in $GMP_ARCHIVE $MPFR_ARCHIVE $MPC_ARCHIVE $LIBELF_ARCHIVE \