diff options
author | Stefan Reinauer <reinauer@chromium.org> | 2012-12-04 15:48:05 -0800 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2012-12-05 01:54:13 +0100 |
commit | dab4238d102724c3d050e6bcf05887813dee5949 (patch) | |
tree | 557039e5b160a32a37e0ff590938cbb197c61c96 /util/crossgcc/patches | |
parent | 9b926651413f051e63fcd473a534d205b31589a6 (diff) | |
download | coreboot-dab4238d102724c3d050e6bcf05887813dee5949.tar.xz |
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 <reinauer@google.com>
Reviewed-on: http://review.coreboot.org/1966
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'util/crossgcc/patches')
-rw-r--r-- | util/crossgcc/patches/binutils-2.23_armv7a.patch | 12 | ||||
-rw-r--r-- | util/crossgcc/patches/gcc-4.7.2_armv7a.patch | 12 |
2 files changed, 24 insertions, 0 deletions
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 \ |