mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-27 20:14:27 +01:00
build-linux and build-gem5 seem to work
This commit is contained in:
10
build-qemu
10
build-qemu
@@ -32,15 +32,15 @@ class QemuComponent(common.Component):
|
||||
target_list = '{}-softmmu'.format(kwargs['arch'])
|
||||
self.sh.run_cmd(
|
||||
[
|
||||
os.path.join(common.qemu_src_dir, 'configure'), LF,
|
||||
os.path.join(kwargs['qemu_src_dir'], 'configure'), LF,
|
||||
'--enable-debug', LF,
|
||||
'--enable-trace-backends=simple', LF,
|
||||
'--target-list={}'.format(target_list), LF,
|
||||
'--enable-sdl', LF,
|
||||
'--with-sdlabi=2.0', LF,
|
||||
] +
|
||||
common.add_newlines(kwargs['extra_config_args']),
|
||||
extra_paths=[common.ccache_dir],
|
||||
self.sh.add_newlines(kwargs['extra_config_args']),
|
||||
extra_paths=[kwargs['ccache_dir']],
|
||||
cwd=build_dir
|
||||
)
|
||||
self.sh.run_cmd(
|
||||
@@ -53,11 +53,11 @@ class QemuComponent(common.Component):
|
||||
verbose
|
||||
),
|
||||
cwd=build_dir,
|
||||
extra_paths=[common.ccache_dir],
|
||||
extra_paths=[kwargs['ccache_dir']],
|
||||
)
|
||||
|
||||
def get_build_dir(self, args):
|
||||
return common.qemu_build_dir
|
||||
return kwargs['qemu_build_dir']
|
||||
|
||||
if __name__ == '__main__':
|
||||
QemuComponent().build()
|
||||
|
||||
Reference in New Issue
Block a user