mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-30 05:24:25 +01:00
qemu: update to d8dae268c0a3e4e361002aca3b382fedd77f2567
Now on top of QEMU v4.0.0. Ha, everything just worked. That wasn't fun! Fix https://github.com/cirosantilli/linux-kernel-module-cheat/issues/70
This commit is contained in:
@@ -8,11 +8,6 @@ from shell_helpers import LF
|
||||
class Main(common.BuildCliFunction):
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self.add_argument(
|
||||
'--user-mode',
|
||||
default=False,
|
||||
help='Build QEMU user mode instead of system.',
|
||||
)
|
||||
self.add_argument(
|
||||
'extra_config_args',
|
||||
default=[],
|
||||
@@ -27,7 +22,7 @@ class Main(common.BuildCliFunction):
|
||||
verbose = ['V=1']
|
||||
else:
|
||||
verbose = []
|
||||
if self.env['user_mode']:
|
||||
if self.env['mode'] == 'userland':
|
||||
target_list = '{}-linux-user'.format(self.env['arch'])
|
||||
else:
|
||||
target_list = '{}-softmmu'.format(self.env['arch'])
|
||||
@@ -38,7 +33,6 @@ class Main(common.BuildCliFunction):
|
||||
'--enable-trace-backends=simple', LF,
|
||||
'--target-list={}'.format(target_list), LF,
|
||||
'--enable-sdl', LF,
|
||||
'--with-sdlabi=2.0', LF,
|
||||
] +
|
||||
self.sh.add_newlines(self.env['extra_config_args']),
|
||||
extra_paths=[self.env['ccache_dir']],
|
||||
|
||||
Reference in New Issue
Block a user