This commit is contained in:
Ciro Santilli
2017-05-26 08:54:17 +01:00
parent 36f48aa9c7
commit 6d2bbab19c
6 changed files with 127 additions and 27 deletions

View File

@@ -8,7 +8,7 @@ debug=false
nographic=false
extra_append=''
extra_flags=''
while getopts a:dn OPT; do
while getopts a:dkn OPT; do
case "$OPT" in
a)
arch=$OPTARG
@@ -17,6 +17,11 @@ while getopts a:dn OPT; do
debug=true
extra_flags="$extra_flags -S -s"
;;
k)
debug=true
extra_append="$extra_append kgdbwait kgdboc=ttyS0,115200"
extra_flags="$extra_flags -serial tcp::1234,server,nowait"
;;
n)
extra_append="$extra_append console=ttyS0"
extra_flags="$extra_flags -nographic"