[coreboot-gerrit] New patch to review for coreboot: xcompile: Add parameter to aid in debugging

Martin Roth (martinroth@google.com) gerrit at coreboot.org
Tue Jan 19 16:51:14 CET 2016


Martin Roth (martinroth at google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/13047

-gerrit

commit d95b7828fe2159b1122a0d15362905f89a77b529
Author: Martin Roth <martinroth at 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 at google.com>
---
 util/xcompile/xcompile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile
index d877926..9882183 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
 



More information about the coreboot-gerrit mailing list