Martin Roth (martinroth@google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13047
-gerrit
commit 3533eb155d0695bb955735d56f640aec4456517c Author: Martin Roth martinroth@google.com Date: Tue Jan 19 08:50:23 2016 -0700
xcompile: Add parameter to aid in debugging
There was a report that xcompile wasn't finding the compilers correctly, so to aid in future debugging, this adds a parameter to show what xcompile is doing as it runs.
Run from the command line: ./util/xcompile/xcompile --debug
Change-Id: I779cb3de7b4e3f62a2ef2a6245c3538be518870c Signed-off-by: Martin Roth martinroth@google.com --- util/xcompile/xcompile | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile index 79c8a4c..cec4cfe 100755 --- a/util/xcompile/xcompile +++ b/util/xcompile/xcompile @@ -15,6 +15,11 @@ # GNU General Public License for more details. #
+#enable debug output +if [ "$1" = "--debug" ]; then + set -x +fi + TMPFILE="" XGCCPATH=$1