aboutsummaryrefslogtreecommitdiff
path: root/util/abuild/abuild
diff options
context:
space:
mode:
Diffstat (limited to 'util/abuild/abuild')
-rwxr-xr-xutil/abuild/abuild13
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