From dab4238d102724c3d050e6bcf05887813dee5949 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Tue, 4 Dec 2012 15:48:05 -0800 Subject: crossgcc: Add support for building armv7a toolchain !#%$@ autotools don't support all the platforms gcc and binutils support. If you try to update to the latest autoconf, it will complain that you have to use the older one. If I had a penny for every time autotools broke portability... Change-Id: I479b6c5f64f1def8dca889884e6a2b0e2ffc1fb8 Signed-off-by: Stefan Reinauer Reviewed-on: http://review.coreboot.org/1966 Reviewed-by: Ronald G. Minnich Tested-by: build bot (Jenkins) --- util/crossgcc/patches/binutils-2.23_armv7a.patch | 12 ++++++++++++ util/crossgcc/patches/gcc-4.7.2_armv7a.patch | 12 ++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 util/crossgcc/patches/binutils-2.23_armv7a.patch create mode 100644 util/crossgcc/patches/gcc-4.7.2_armv7a.patch (limited to 'util') diff --git a/util/crossgcc/patches/binutils-2.23_armv7a.patch b/util/crossgcc/patches/binutils-2.23_armv7a.patch new file mode 100644 index 0000000000..63bcc9c6e6 --- /dev/null +++ b/util/crossgcc/patches/binutils-2.23_armv7a.patch @@ -0,0 +1,12 @@ +diff -u binutils-2.23/config.sub binutils-2.23/config.sub +--- binutils-2.23/config.sub 2012-04-25 08:53:25.000000000 -0700 ++++ binutils-2.23/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 \ diff --git a/util/crossgcc/patches/gcc-4.7.2_armv7a.patch b/util/crossgcc/patches/gcc-4.7.2_armv7a.patch new file mode 100644 index 0000000000..82e6609fde --- /dev/null +++ b/util/crossgcc/patches/gcc-4.7.2_armv7a.patch @@ -0,0 +1,12 @@ +diff -ur gcc-4.7.2/config.sub gcc-4.7.2/config.sub +--- gcc-4.7.2/config.sub 2012-08-06 07:34:27.000000000 -0700 ++++ gcc-4.7.2/config.sub 2012-12-04 15:03:30.813137430 -0800 +@@ -250,7 +250,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 \ -- cgit v1.2.3