mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-27 12:04:27 +01:00
considering some new design ideas
This commit is contained in:
17
build-gem5
17
build-gem5
@@ -8,16 +8,15 @@ import common
|
||||
from cli_function import Argument
|
||||
|
||||
class Main(common.BuildCliFunction):
|
||||
def do_get_arguments(self):
|
||||
return [
|
||||
Argument(
|
||||
'extra_scons_args',
|
||||
metavar='extra-scons-args',
|
||||
nargs='*',
|
||||
)
|
||||
]
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self.add_argument(
|
||||
'extra_scons_args',
|
||||
metavar='extra-scons-args',
|
||||
nargs='*',
|
||||
)
|
||||
|
||||
def do_main(self, **kwargs):
|
||||
def build(self, **kwargs):
|
||||
build_dir = self.get_build_dir(**kwargs)
|
||||
binaries_dir = os.path.join(kwargs['gem5_system_dir'], 'binaries')
|
||||
disks_dir = os.path.join(kwargs['gem5_system_dir'], 'disks')
|
||||
|
||||
Reference in New Issue
Block a user