Martin Roth (martinroth@google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17723
-gerrit
commit 20f3cb9000c514dba5f227041ea8145053307f6f Author: Martin Roth martinroth@google.com Date: Wed Nov 30 16:38:25 2016 -0700
util/abuild: Don't set XGCCPATH if it's in the environment
Change-Id: I0fa231ca3d33300a671810e994c5be54ac10a18b Signed-off-by: Martin Roth martinroth@google.com --- util/abuild/abuild | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/util/abuild/abuild b/util/abuild/abuild index 9c1af5a..85d445b 100755 --- a/util/abuild/abuild +++ b/util/abuild/abuild @@ -31,8 +31,10 @@ export KCONFIG_OVERWRITECONFIG=1 # path to payload. Should be more generic PAYLOAD=/dev/null
-# path to coreboot XGCC -XGCCPATH="$(pwd)/util/crossgcc/xgcc/bin/" +# get path to coreboot XGCC if it's not already set +if [ -z "$XGCCPATH" ]; then + XGCCPATH="$TOP/util/crossgcc/xgcc/bin/" +fi
# Add XGCC to the path. if [ -d "$XGCCPATH" ] && [[ ":$PATH:" != *":$XGCCPATH:"* ]]; then