summaryrefslogtreecommitdiff
path: root/util/crossgcc/buildgcc
diff options
context:
space:
mode:
authorPatrick Georgi <patrick@georgi-clan.de>2015-03-07 09:55:18 +0100
committerPatrick Georgi <pgeorgi@google.com>2015-03-08 13:56:03 +0100
commit53c388fe6dfb4fc4ffcee6c58345d353c6ec33bf (patch)
tree22e8557489c1998745bfbd5261bf3714f92ba40c /util/crossgcc/buildgcc
parent9b7efa55b3c2a0e299095eb643447a7ed43083df (diff)
downloadcoreboot-53c388fe6dfb4fc4ffcee6c58345d353c6ec33bf.tar.xz
crossgcc: Update toolchain
Update GCC to 4.9.2, binutils to 2.25. Change-Id: Iae9763163b7f42c55a39e26b4beedee67d14a6e4 Signed-off-by: Patrick Georgi <patrick@georgi-clan.de> Reviewed-on: http://review.coreboot.org/8628 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'util/crossgcc/buildgcc')
-rwxr-xr-xutil/crossgcc/buildgcc25
1 files changed, 13 insertions, 12 deletions
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index fc85734e01..e9936dbaae 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -20,8 +20,8 @@
# Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA
#
-CROSSGCC_DATE="February 23th, 2015"
-CROSSGCC_VERSION="1.26"
+CROSSGCC_DATE="March 8th, 2015"
+CROSSGCC_VERSION="1.27"
# default settings
TARGETDIR=`pwd`/xgcc
@@ -29,28 +29,28 @@ TARGETARCH=i386-elf
DESTDIR=
# version numbers
-GMP_VERSION=5.1.2
+GMP_VERSION=6.0.0
MPFR_VERSION=3.1.2
MPC_VERSION=1.0.3
LIBELF_VERSION=0.8.13
-GCC_VERSION=4.8.3
+GCC_VERSION=4.9.2
GCC_AUTOCONF_VERSION=2.69
-BINUTILS_VERSION=2.23.2
-GDB_VERSION=7.6
-IASL_VERSION=20140114
-PYTHON_VERSION=3.3.2
+BINUTILS_VERSION=2.25
+GDB_VERSION=7.9
+IASL_VERSION=20150204
+PYTHON_VERSION=3.4.3
EXPAT_VERSION=2.1.0
# archive locations
-GMP_ARCHIVE="http://ftpmirror.gnu.org/gmp/gmp-${GMP_VERSION}.tar.bz2"
+GMP_ARCHIVE="http://ftpmirror.gnu.org/gmp/gmp-${GMP_VERSION}a.tar.bz2"
MPFR_ARCHIVE="http://ftpmirror.gnu.org/mpfr/mpfr-${MPFR_VERSION}.tar.bz2"
MPC_ARCHIVE="http://ftpmirror.gnu.org/mpc/mpc-${MPC_VERSION}.tar.gz"
LIBELF_ARCHIVE="http://www.mr511.de/software/libelf-${LIBELF_VERSION}.tar.gz"
GCC_ARCHIVE="http://ftpmirror.gnu.org/gcc/gcc-${GCC_VERSION}/gcc-${GCC_VERSION}.tar.bz2"
BINUTILS_ARCHIVE="http://ftpmirror.gnu.org/binutils/binutils-${BINUTILS_VERSION}.tar.bz2"
-GDB_ARCHIVE="http://ftpmirror.gnu.org/gdb/gdb-${GDB_VERSION}.tar.bz2"
-IASL_ARCHIVE="http://www.acpica.org/sites/acpica/files/acpica-unix-${IASL_VERSION}.tar.gz"
-PYTHON_ARCHIVE="http://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tar.bz2"
+GDB_ARCHIVE="http://ftpmirror.gnu.org/gdb/gdb-${GDB_VERSION}.tar.xz"
+IASL_ARCHIVE="https://acpica.org/sites/acpica/files/acpica-unix-${IASL_VERSION}.tar.gz"
+PYTHON_ARCHIVE="http://www.python.org/ftp/python/${PYTHON_VERSION}/Python-${PYTHON_VERSION}.tar.xz"
EXPAT_ARCHIVE="http://downloads.sourceforge.net/sourceforge/expat/expat-${EXPAT_VERSION}.tar.gz"
GMP_DIR="gmp-${GMP_VERSION}"
@@ -300,6 +300,7 @@ for PACKAGE in GMP MPFR MPC LIBELF GCC BINUTILS $PYTHON_PACKAGE \
suffix=`echo $archive | sed 's,.*\.,,'`
test "$suffix" = "gz" && FLAGS=zxf
test "$suffix" = "bz2" && FLAGS=jxf
+ test "$suffix" = "xz" && FLAGS="--xz -xf"
test "$suffix" = "lzma" && FLAGS="--lzma -xf"
$TAR $FLAGS tarballs/`basename $archive`
for patch in patches/${dir}_*.patch; do