mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-25 11:11:35 +01:00
run: move run.sh into out/arch/qemu or out/arch/gem5 subdirs
This allows to compare both commands as the run.sh won't overwritten.
This commit is contained in:
5
common
5
common
@@ -36,6 +36,11 @@ set_common_vars() {
|
||||
m5out_dir="${gem5_out_dir}/m5out"
|
||||
qemu_out_dir="${out_arch_dir}/qemu"
|
||||
qemu_trace_txt_file="${qemu_out_dir}/trace.txt"
|
||||
if "$gem5"; then
|
||||
common_out_run_dir="$gem5_out_dir"
|
||||
else
|
||||
common_out_run_dir="$qemu_out_dir"
|
||||
fi
|
||||
}
|
||||
root_dir="$(pwd)"
|
||||
out_dir="${root_dir}/out"
|
||||
|
||||
Reference in New Issue
Block a user