mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-29 21:14:27 +01:00
gem5 basic build and boot
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user