[coreboot] New patch to review for coreboot: 6c5d7b5 Allow XGCCPATH to be set on the make command line.

Marc Jones (marcj303@gmail.com) gerrit at coreboot.org
Sat Oct 22 00:13:51 CEST 2011

Marc Jones (marcj303 at gmail.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/318


commit 6c5d7b5cf2ed79d8b58659fac0b2e9684425ef91
Author: Marc Jones <marcj303 at gmail.com>
Date:   Fri Oct 7 17:20:30 2011 -0600

    Allow XGCCPATH to be set on the make command line.
    The xgcc toolchain may be moved by the user and passed in on the commandline. Updates the Makefile and the xcompile script.
    Change-Id: I05797b2cabce39bdd7868c2515f30d34043fc8cc
    Signed-off-by: Marc Jones <marcj303 at gmail.com>
 Makefile               |    2 +-
 util/xcompile/xcompile |    5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/Makefile b/Makefile
index 44a1d63..c543897 100644
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,7 @@ ifeq ($(INNER_SCANBUILD),y)
-$(if $(wildcard .xcompile),,$(eval $(shell bash util/xcompile/xcompile > .xcompile)))
+$(if $(wildcard .xcompile),,$(eval $(shell bash util/xcompile/xcompile $(XGCCPATH) > .xcompile)))
 include .xcompile
 ifeq ($(INNER_SCANBUILD),y)
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile
index b68e1b3..a11fc9a 100644
--- a/util/xcompile/xcompile
+++ b/util/xcompile/xcompile
@@ -1,4 +1,4 @@
+#!/bin/sh -xv
 # This file is part of the coreboot project.
@@ -35,7 +35,8 @@ for make in make gmake gnumake; do
 TMPFILE=`mktemp /tmp/temp.XXXX 2>/dev/null || echo /tmp/temp.78gOIUGz`
 touch $TMPFILE

More information about the coreboot mailing list