[coreboot-gerrit] New patch to review for coreboot: ca2544a abuild: Add xgcc tools to the path
Marc Jones (marc.jones@se-eng.com)
gerrit at coreboot.org
Fri May 31 21:37:03 CEST 2013
Marc Jones (marc.jones at se-eng.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/3350
-gerrit
commit ca2544ac1d579f89932d6ff1ea4a6128bc0aa49f
Author: Marc Jones <marc.jones at se-eng.com>
Date: Fri May 31 13:33:30 2013 -0600
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 at se-eng.com>
---
util/abuild/abuild | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/util/abuild/abuild b/util/abuild/abuild
index aad066c..d419e87 100755
--- a/util/abuild/abuild
+++ b/util/abuild/abuild
@@ -6,6 +6,7 @@
#
# (C) 2004 by Stefan Reinauer <stepan at openbios.org>
# (C) 2006-2010 by coresystems GmbH <info at 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
More information about the coreboot-gerrit
mailing list