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>
This commit is contained in:
parent
413b0d9846
commit
66a68a2af8
|
@ -6,6 +6,7 @@
|
||||||
#
|
#
|
||||||
# (C) 2004 by Stefan Reinauer <stepan@openbios.org>
|
# (C) 2004 by Stefan Reinauer <stepan@openbios.org>
|
||||||
# (C) 2006-2010 by coresystems GmbH <info@coresystems.de>
|
# (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
|
# 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
|
# Public License. See the file COPYING in the main directory of this
|
||||||
|
@ -14,8 +15,8 @@
|
||||||
|
|
||||||
#set -x # Turn echo on....
|
#set -x # Turn echo on....
|
||||||
|
|
||||||
ABUILD_DATE="December 10th, 2010"
|
ABUILD_DATE="May 31, 2013"
|
||||||
ABUILD_VERSION="0.9.1"
|
ABUILD_VERSION="0.9.2"
|
||||||
|
|
||||||
TOP=$PWD
|
TOP=$PWD
|
||||||
|
|
||||||
|
@ -27,6 +28,14 @@ REAL_XMLFILE=$XMLFILE
|
||||||
# path to payload. Should be more generic
|
# path to payload. Should be more generic
|
||||||
PAYLOAD=/dev/null
|
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
|
# Lines of error context to be printed in FAILURE case
|
||||||
CONTEXT=6
|
CONTEXT=6
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue