gem5 basic build and boot

This commit is contained in:
Ciro Santilli
2018-09-07 14:17:50 +01:00
parent 925189fe73
commit 022d971cad
6 changed files with 81 additions and 78 deletions

View File

@@ -6,13 +6,10 @@ import subprocess
import common
parser = common.get_argparse(argparse_args={
'description': 'Build QEMU'
})
parser = common.get_argparse()
parser.add_argument(
'extra_config_args',
default=[],
help='Extra arguments for the tool.',
metavar='extra-config-args',
nargs='*'
)
@@ -33,9 +30,8 @@ subprocess.check_call(
subprocess.check_call(
[
'make',
'-j',
# TODO factor with build.
str(multiprocessing.cpu_count()),
'-j', str(multiprocessing.cpu_count()),
],
cwd=common.qemu_build_dir
)