gem5: automatically add build type to the build path

If you use it, you shall debug it, there is no basic user for gem5, so
longer paths are worth it.
This commit is contained in:
Ciro Santilli 六四事件 法轮功
2018-09-26 00:00:00 +00:00
parent 9f2cd88e48
commit 21a7a1ffa8
2 changed files with 6 additions and 6 deletions

View File

@@ -499,7 +499,7 @@ def setup(parser):
this.qemu_termout_file = os.path.join(this.qemu_run_dir, 'termout.txt')
this.qemu_rrfile = os.path.join(this.qemu_run_dir, 'rrfile')
this.gem5_out_dir = os.path.join(this.out_dir, 'gem5')
this.gem5_build_dir = os.path.join(this.gem5_out_dir, args.gem5_build_id)
this.gem5_build_dir = os.path.join(this.gem5_out_dir, args.gem5_build_id, args.gem5_build_type)
this.gem5_fake_iso = os.path.join(this.gem5_out_dir, 'fake.iso')
this.gem5_m5term = os.path.join(this.gem5_build_dir, 'm5term')
this.gem5_build_build_dir = os.path.join(this.gem5_build_dir, 'build')