From e42133f33e94a5c55aa98d2a6432e10108232846 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Wed, 5 Dec 2012 17:12:10 -0800 Subject: Fix xcompile for ARMv7 and our cross toolchain The naming of architectures is highly inconsistent between the different components of the toolchain. In binutils, the file architecture is elf32-littlearch. In GCC it's armv7a-eabi. This patch adds support for different BFD / GCC names Change-Id: Ib644f71e8d8b4964adec73eed23921d3838e8aa7 Signed-off-by: Stefan Reinauer Reviewed-on: http://review.coreboot.org/1969 Reviewed-by: Ronald G. Minnich Tested-by: build bot (Jenkins) Reviewed-by: David Hendricks --- util/xcompile/xcompile | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) (limited to 'util/xcompile') diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile index cc01631cb4..d75d5dff2d 100644 --- a/util/xcompile/xcompile +++ b/util/xcompile/xcompile @@ -120,7 +120,7 @@ $CFLAGS -ffixed-r8 -msoft-float -marm -mabi=aapcs-linux \ report_arch_toolchain() { cat <