diff options
author | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2016-01-29 17:31:34 -0800 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2016-01-31 22:37:35 +0100 |
commit | 27522ad375aa43ab9d321b049da78b8e649ca537 (patch) | |
tree | 0f6b2396113b96db28c0d64edff0bc8acf4e9764 | |
parent | eaa014676ee264df5583764581344a1ea2301868 (diff) | |
download | coreboot-27522ad375aa43ab9d321b049da78b8e649ca537.tar.xz |
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@coreboot.org>
Reviewed-on: https://review.coreboot.org/13515
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
-rwxr-xr-x | util/crossgcc/buildgcc | 2 | ||||
-rwxr-xr-x | util/xcompile/xcompile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc index 66fa127765..3c6a606dd0 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 b0199ebeb9..176518362f 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" |