mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-27 20:14:27 +01:00
run: fix extra emulator args that were broken by -X
This commit is contained in:
22
run
22
run
@@ -140,16 +140,18 @@ done
|
|||||||
shift "$(($OPTIND - 1))"
|
shift "$(($OPTIND - 1))"
|
||||||
extra_flags="$extra_flags $@"
|
extra_flags="$extra_flags $@"
|
||||||
OPTIND=1
|
OPTIND=1
|
||||||
while getopts b OPT $extra_opts; do
|
if [ -n "$extra_opts" ]; then
|
||||||
case "$OPT" in
|
while getopts b OPT $extra_opts; do
|
||||||
b)
|
case "$OPT" in
|
||||||
gem5_fsbiglittle=true
|
b)
|
||||||
;;
|
gem5_fsbiglittle=true
|
||||||
?)
|
;;
|
||||||
exit 2
|
?)
|
||||||
;;
|
exit 2
|
||||||
esac
|
;;
|
||||||
done
|
esac
|
||||||
|
done
|
||||||
|
fi
|
||||||
set_common_vars -L "$common_linux_variant" -M "$common_gem5_variant" -n "$common_run_id" "$arch" "$gem5"
|
set_common_vars -L "$common_linux_variant" -M "$common_gem5_variant" -n "$common_run_id" "$arch" "$gem5"
|
||||||
if "$debug" && "$kvm"; then
|
if "$debug" && "$kvm"; then
|
||||||
echo 'error: -d and -K are incompatible' 1>&2
|
echo 'error: -d and -K are incompatible' 1>&2
|
||||||
|
|||||||
Reference in New Issue
Block a user