Skip to content

Commit d769513

Browse files
committed
Fix ./build-m5 "Do not know how to make File target `build/aarch64/out/m5'"
The correct m5 target is: submodules/gem5/util/m5/build/arm64/out/m5, but we were using submodules/gem5/util/m5/build/aarch6/out/m5 instead, presumably this changed on some gem5 version update, and we didn't notice because artifacts were leftover in the repo due to in-tree build. Thanks for EE415-20170470 for proposing the patch at: #145 (comment) Fix #145
1 parent 956adff commit d769513

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

common.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -928,6 +928,8 @@ def join(*paths):
928928
env['gem5_m5_source_dir'] = join(env['gem5_source_dir'], 'util', 'm5')
929929
if self.env['arch'] == 'x86_64':
930930
env['gem5_m5_source_dir_build_arch'] = 'x86'
931+
elif self.env['arch'] == 'aarch64':
932+
env['gem5_m5_source_dir_build_arch'] = 'arm64'
931933
else:
932934
env['gem5_m5_source_dir_build_arch'] = env['arch']
933935
env['gem5_m5_source_dir_build'] = join(env['gem5_m5_source_dir'], 'build', env['gem5_m5_source_dir_build_arch'], 'out', 'm5')

0 commit comments

Comments
 (0)