[coreboot] New patch to review for coreboot: 30cf0f9 crossgcc: Add support for building armv7a toolchain

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Wed Dec 5 00:52:20 CET 2012


Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/1966

-gerrit

commit 30cf0f97b7cb1f71346e18149e6c13ebae12f532
Author: Stefan Reinauer <reinauer at chromium.org>
Date:   Tue Dec 4 15:48:05 2012 -0800

    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 at google.com>
---
 util/crossgcc/patches/binutils-2.23_armv7a.patch | 12 ++++++++++++
 util/crossgcc/patches/gcc-4.7.2_armv7a.patch     | 12 ++++++++++++
 2 files changed, 24 insertions(+)

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 0000000..63bcc9c
--- /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 0000000..82e6609
--- /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 \




More information about the coreboot mailing list