[coreboot-gerrit] Patch set updated for coreboot: xcompile: Add parameter to aid in debugging

Martin Roth (martinroth@google.com) gerrit at coreboot.org
Fri Feb 19 20:14:44 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 31530f68423eb23a169382c891f7fed00178ff89
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 | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile
index 79c8a4c..b129c15 100755
--- a/util/xcompile/xcompile
+++ b/util/xcompile/xcompile
@@ -15,6 +15,14 @@
 # GNU General Public License for more details.
 #
 
+# Usage: [--debug] [path to xgcc/bin directory]
+
+# Enable debug output
+if [ "$1" = "--debug" ]; then
+	shift
+	set -x
+fi
+
 TMPFILE=""
 XGCCPATH=$1
 



More information about the coreboot-gerrit mailing list