Files
linux-kernel-module-cheat/gem5-shell
Ciro Santilli 036225b268 run: use getopt
2018-08-23 08:54:47 +01:00

15 lines
362 B
Bash
Executable File

#!/usr/bin/env bash
. "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/common"
common_gem5=true
parsed=$(getopt -o "${common_getopt_flags}" -l "$common_getopt_flags_long" -- "$@")
eval set -- "$parsed"
while true; do
case "$1" in
*)
common_getopt_case "$@"
;;
esac
done
common_setup
"${common_gem5_m5term}" localhost "$common_gem5_telnet_port"