Stefan Reinauer (stefan.reinauer@coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2000
-gerrit
commit 64057021cc41b1808b68ac79e8f228f16a30a364 Author: Stefan Reinauer stefan.reinauer@coreboot.org Date: Sat Dec 8 00:38:40 2012 +0100
abuild: Select correct cross compiler for ARMV7 architecture
Change-Id: Ia0dce25a4271299757654ba46baafe6a6673c6d2 Signed-off-by: Stefan Reinauer reinauer@google.com --- util/abuild/abuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/util/abuild/abuild b/util/abuild/abuild index aefb1ea..1c69eec 100755 --- a/util/abuild/abuild +++ b/util/abuild/abuild @@ -356,7 +356,14 @@ function build_target fi done fi - + if [ "$found_crosscompiler" == "false" -a "$TARCH" == ARMV7 ];then + for prefix in armv7a-eabi- armv7a-cros-linux-gnueabi-; do + if ${prefix}gcc --version > /dev/null 2> /dev/null ; then + found_crosscompiler=true + CROSS_COMPILE=$prefix + fi + done + fi
# TBD: look for suitable cross compiler suite # cross-$TARCH-gcc and cross-$TARCH-ld