summaryrefslogtreecommitdiff
path: root/nuttx/tools/mkdeps.sh
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/tools/mkdeps.sh')
-rwxr-xr-xnuttx/tools/mkdeps.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/nuttx/tools/mkdeps.sh b/nuttx/tools/mkdeps.sh
index 086778fbe..54ffbb1ee 100755
--- a/nuttx/tools/mkdeps.sh
+++ b/nuttx/tools/mkdeps.sh
@@ -48,11 +48,14 @@ args=
# Accumulate CFLAGS up to "--"
for i in $* ; do
case $i in
- --*)
+ -- )
cc=$cflags
cflags=$args
args=
;;
+ --debug )
+ set -x
+ ;;
*)
args="$args $i"
;;