gem5-shell: fix after removal of --gem5

This commit is contained in:
Ciro Santilli
2019-01-22 00:00:00 +00:00
committed by Ciro Santilli 六四事件 法轮功
parent 46bf33fb4e
commit 22e26aa002
3 changed files with 3 additions and 3 deletions

View File

@@ -16,7 +16,7 @@ parser = self.get_argparse(
More information at: https://github.com/cirosantilli/linux-kernel-module-cheat#bisection More information at: https://github.com/cirosantilli/linux-kernel-module-cheat#bisection
'''}, '''},
default_args={ default_args={
'gem5': True, 'emulators': ['gem5'],
'linux_build_id': 'bisect', 'linux_build_id': 'bisect',
}, },
) )

View File

@@ -1,6 +1,6 @@
def set_args(args, script_name): def set_args(args, script_name):
args['arch'] = 'aarch64' args['arch'] = 'aarch64'
args['gem5'] = True args['emulators'] = ['gem5']
if script_name == 'build-gem5': if script_name == 'build-gem5':
# This argument is defined only for ./build-gem5. # This argument is defined only for ./build-gem5.
args['extra_scons_args'] = ['ADSF=qwer'] args['extra_scons_args'] = ['ADSF=qwer']

View File

@@ -7,7 +7,7 @@ class Main(common.LkmcCliFunction):
def __init__(self): def __init__(self):
super().__init__( super().__init__(
defaults={ defaults={
'gem5': True, 'emulators': ['gem5'],
}, },
description='Connect a terminal to a running gem5 instance', description='Connect a terminal to a running gem5 instance',
) )