projects
/
coreboot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Allow XGCCPATH to be set on the make command line.
[coreboot.git]
/
util
/
xcompile
/
xcompile
diff --git
a/util/xcompile/xcompile
b/util/xcompile/xcompile
index b68e1b3a7910aa1ea28f86565d31709e2f385d9a..9a0a295c75d86e2a91b9bf09978e5db1bce23aa8 100644
(file)
--- a/
util/xcompile/xcompile
+++ b/
util/xcompile/xcompile
@@
-35,7
+35,8
@@
for make in make gmake gnumake; do
done
GCCPREFIX=invalid
-XGCCPATH="`pwd`/util/crossgcc/xgcc/bin/"
+XGCCPATH=${1:-"`pwd`/util/crossgcc/xgcc/bin/"}
+echo '#XGCCPATH='${XGCCPATH}
TMPFILE=`mktemp /tmp/temp.XXXX 2>/dev/null || echo /tmp/temp.78gOIUGz`
touch $TMPFILE