From 66a68a2af8b9c65d3d86a49459ed8217347d2cb1 Mon Sep 17 00:00:00 2001 From: Marc Jones Date: Fri, 31 May 2013 13:33:30 -0600 Subject: abuild: Add xgcc tools to the path abuild checks the path for toolchains prior to building a mainboard. It didn't check xgcc/, which would be picked up by the coreboot make, and fail to build when it shouldn't. Change-Id: If0ca4238e8c57a6b015fdad623ccdbf237ef1ba6 Signed-off-by: Marc Jones Reviewed-on: http://review.coreboot.org/3350 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Stefan Reinauer --- util/abuild/abuild | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'util') diff --git a/util/abuild/abuild b/util/abuild/abuild index aad066cf73..d419e876bf 100755 --- a/util/abuild/abuild +++ b/util/abuild/abuild @@ -6,6 +6,7 @@ # # (C) 2004 by Stefan Reinauer # (C) 2006-2010 by coresystems GmbH +# (C) 2013 Sage Electronic Engineering, LLC # # This file is subject to the terms and conditions of the GNU General # Public License. See the file COPYING in the main directory of this @@ -14,8 +15,8 @@ #set -x # Turn echo on.... -ABUILD_DATE="December 10th, 2010" -ABUILD_VERSION="0.9.1" +ABUILD_DATE="May 31, 2013" +ABUILD_VERSION="0.9.2" TOP=$PWD @@ -27,6 +28,14 @@ REAL_XMLFILE=$XMLFILE # path to payload. Should be more generic PAYLOAD=/dev/null +# path to coreboot XGCC +XGCCPATH="`pwd`/util/crossgcc/xgcc/bin/" + +# Add XGCC to the path. +if [ -d "$XGCCPATH" ] && [[ ":$PATH:" != *":$XGCCPATH:"* ]]; then + PATH="$XGCCPATH:$PATH" +fi + # Lines of error context to be printed in FAILURE case CONTEXT=6 -- cgit v1.2.3