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>
This commit is contained in:
parent
9b7efa55b3
commit
53c388fe6d
|
@ -20,8 +20,8 @@
|
||||||
# Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA
|
# Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA
|
||||||
#
|
#
|
||||||
|
|
||||||
CROSSGCC_DATE="February 23th, 2015"
|
CROSSGCC_DATE="March 8th, 2015"
|
||||||
CROSSGCC_VERSION="1.26"
|
CROSSGCC_VERSION="1.27"
|
||||||
|
|
||||||
# default settings
|
# default settings
|
||||||
TARGETDIR=`pwd`/xgcc
|
TARGETDIR=`pwd`/xgcc
|
||||||
|
@ -29,28 +29,28 @@ TARGETARCH=i386-elf
|
||||||
DESTDIR=
|
DESTDIR=
|
||||||
|
|
||||||
# version numbers
|
# version numbers
|
||||||
GMP_VERSION=5.1.2
|
GMP_VERSION=6.0.0
|
||||||
MPFR_VERSION=3.1.2
|
MPFR_VERSION=3.1.2
|
||||||
MPC_VERSION=1.0.3
|
MPC_VERSION=1.0.3
|
||||||
LIBELF_VERSION=0.8.13
|
LIBELF_VERSION=0.8.13
|
||||||
GCC_VERSION=4.8.3
|
GCC_VERSION=4.9.2
|
||||||
GCC_AUTOCONF_VERSION=2.69
|
GCC_AUTOCONF_VERSION=2.69
|
||||||
BINUTILS_VERSION=2.23.2
|
BINUTILS_VERSION=2.25
|
||||||
GDB_VERSION=7.6
|
GDB_VERSION=7.9
|
||||||
IASL_VERSION=20140114
|
IASL_VERSION=20150204
|
||||||
PYTHON_VERSION=3.3.2
|
PYTHON_VERSION=3.4.3
|
||||||
EXPAT_VERSION=2.1.0
|
EXPAT_VERSION=2.1.0
|
||||||
|
|
||||||
# archive locations
|
# 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"
|
MPFR_ARCHIVE="http://ftpmirror.gnu.org/mpfr/mpfr-${MPFR_VERSION}.tar.bz2"
|
||||||
MPC_ARCHIVE="http://ftpmirror.gnu.org/mpc/mpc-${MPC_VERSION}.tar.gz"
|
MPC_ARCHIVE="http://ftpmirror.gnu.org/mpc/mpc-${MPC_VERSION}.tar.gz"
|
||||||
LIBELF_ARCHIVE="http://www.mr511.de/software/libelf-${LIBELF_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"
|
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"
|
BINUTILS_ARCHIVE="http://ftpmirror.gnu.org/binutils/binutils-${BINUTILS_VERSION}.tar.bz2"
|
||||||
GDB_ARCHIVE="http://ftpmirror.gnu.org/gdb/gdb-${GDB_VERSION}.tar.bz2"
|
GDB_ARCHIVE="http://ftpmirror.gnu.org/gdb/gdb-${GDB_VERSION}.tar.xz"
|
||||||
IASL_ARCHIVE="http://www.acpica.org/sites/acpica/files/acpica-unix-${IASL_VERSION}.tar.gz"
|
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.bz2"
|
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"
|
EXPAT_ARCHIVE="http://downloads.sourceforge.net/sourceforge/expat/expat-${EXPAT_VERSION}.tar.gz"
|
||||||
|
|
||||||
GMP_DIR="gmp-${GMP_VERSION}"
|
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,.*\.,,'`
|
suffix=`echo $archive | sed 's,.*\.,,'`
|
||||||
test "$suffix" = "gz" && FLAGS=zxf
|
test "$suffix" = "gz" && FLAGS=zxf
|
||||||
test "$suffix" = "bz2" && FLAGS=jxf
|
test "$suffix" = "bz2" && FLAGS=jxf
|
||||||
|
test "$suffix" = "xz" && FLAGS="--xz -xf"
|
||||||
test "$suffix" = "lzma" && FLAGS="--lzma -xf"
|
test "$suffix" = "lzma" && FLAGS="--lzma -xf"
|
||||||
$TAR $FLAGS tarballs/`basename $archive`
|
$TAR $FLAGS tarballs/`basename $archive`
|
||||||
for patch in patches/${dir}_*.patch; do
|
for patch in patches/${dir}_*.patch; do
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
diff -u binutils-2.23.2/config.sub binutils-2.23.2/config.sub
|
|
||||||
--- binutils-2.23.2/config.sub 2012-04-25 08:53:25.000000000 -0700
|
|
||||||
+++ binutils-2.23.2/config.sub 2012-12-04 14:58:16.050136773 -0800
|
|
||||||
@@ -259,7 +259,7 @@
|
|
||||||
| alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
|
|
||||||
| alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
|
|
||||||
| am33_2.0 \
|
|
||||||
- | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
|
|
||||||
+ | arc | arm | arm[bl]e | arme[lb] | armv* | armv[345][lb] | avr | avr32 \
|
|
||||||
| be32 | be64 \
|
|
||||||
| bfin \
|
|
||||||
| c4x | clipper \
|
|
|
@ -1,6 +1,6 @@
|
||||||
diff -ur binutils-2.23.2/bfd/Makefile.in binutils-2.23.2.patched/bfd/Makefile.in
|
diff -ur binutils-2.23.2/bfd/Makefile.in binutils-2.23.2.patched/bfd/Makefile.in
|
||||||
--- binutils-2.23.2/bfd/Makefile.in 2012-10-22 14:33:51.000000000 +0200
|
--- binutils-2.23.2/bfd/Makefile.in 2012-10-22 14:33:51.000000000 +0200
|
||||||
+++ binutils-2.23.2.patched/bfd/Makefile.in 2012-10-24 15:33:04.442080163 +0200
|
+++ binutils-2.25/bfd/Makefile.in 2012-10-24 15:33:04.442080163 +0200
|
||||||
@@ -323,7 +323,7 @@
|
@@ -323,7 +323,7 @@
|
||||||
RELEASE = y
|
RELEASE = y
|
||||||
INCDIR = $(srcdir)/../include
|
INCDIR = $(srcdir)/../include
|
Loading…
Reference in New Issue