diff options
author | Marc Jones <marc.jones@se-eng.com> | 2013-05-31 13:33:30 -0600 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2013-06-25 00:36:31 +0200 |
commit | 66a68a2af8b9c65d3d86a49459ed8217347d2cb1 (patch) | |
tree | 9765c76b3a94a3ae264b3969bdbfc8ac71021a4f /util/abuild | |
parent | 413b0d98462dc877cc53355f425923c116bb490c (diff) | |
download | coreboot-66a68a2af8b9c65d3d86a49459ed8217347d2cb1.tar.xz |
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 <marc.jones@se-eng.com>
Reviewed-on: http://review.coreboot.org/3350
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'util/abuild')
-rwxr-xr-x | util/abuild/abuild | 13 |
1 files changed, 11 insertions, 2 deletions
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 <stepan@openbios.org> # (C) 2006-2010 by coresystems GmbH <info@coresystems.de> +# (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 |