[coreboot-gerrit] New patch to review for coreboot: buildgcc: Rename armv7-a-eabi compiler to arm-eabi

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Sat Jan 30 02:50:00 CET 2016


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

-gerrit

commit 3ecd363b149c9fd0b0df00a8c54494c4d3260610
Author: Stefan Reinauer <stefan.reinauer at coreboot.org>
Date:   Fri Jan 29 17:31:34 2016 -0800

    buildgcc: Rename armv7-a-eabi compiler to arm-eabi
    
    The compiler really supports a whole line of ARM CPUs, not just
    ARMv7a:
    arm-eabi-gcc: note: valid arguments to '-march=' are: armv2 armv2a
       armv3 armv3m armv4 armv4t armv5 armv5e armv5t armv5te armv6 armv6-m
       armv6j armv6k armv6s-m armv6t2 armv6z armv6zk armv7 armv7-a armv7-m
       armv7-r armv7e-m armv7ve armv8-a armv8-a+crc iwmmxt iwmmxt2 native
    So let's reflect this in the cross compiler name.
    
    Change-Id: I717760d80954655b2de9ae019b813d81e9a75762
    Signed-off-by: Stefan Reinauer <stefan.reinauer at coreboot.org>
---
 util/crossgcc/buildgcc | 2 +-
 util/xcompile/xcompile | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index 66fa127..3c6a606 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -597,7 +597,7 @@ case "$TARGETARCH" in
 	riscv-elf)		;;
 	powerpc64*-linux*)	;;
 	i386*)			TARGETARCH=i386-elf;;
-	arm*)			TARGETARCH=armv7-a-eabi;;
+	arm*)			TARGETARCH=arm-eabi;;
 	aarch64*)		TARGETARCH=aarch64-elf;;
 	*)			printf "${red}WARNING: Unsupported architecture $TARGETARCH.${NC}\n\n"; ;;
 esac
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile
index b0199eb..1765183 100755
--- a/util/xcompile/xcompile
+++ b/util/xcompile/xcompile
@@ -290,7 +290,7 @@ SUPPORTED_ARCHITECTURES="arm arm64 mipsel riscv x64 x86 power8"
 arch_config_arm() {
 	TARCH="arm"
 	TBFDARCHS="littlearm"
-	TCLIST="armv7-a armv7a"
+	TCLIST="armv7-a armv7a arm"
 	TWIDTH="32"
 	TSUPP="arm armv4 armv7 armv7_m"
 	TABI="eabi"



More information about the coreboot-gerrit mailing list