summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rwxr-xr-xutil/xcompile/xcompile8
1 files changed, 8 insertions, 0 deletions
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile
index bd6cebfe63..53f0a85228 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