mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
userland: make uber awesome with --baremetal-like executable resolution
This commit is contained in:
@@ -7,7 +7,7 @@ import common
|
||||
class QemuComponent(common.Component):
|
||||
def add_parser_arguments(self, parser):
|
||||
parser.add_argument(
|
||||
'--user',
|
||||
'--userland',
|
||||
default=False,
|
||||
action='store_true',
|
||||
help='Build QEMU user mode instead of system.',
|
||||
@@ -26,7 +26,7 @@ class QemuComponent(common.Component):
|
||||
verbose = ['V=1']
|
||||
else:
|
||||
verbose = []
|
||||
if args.user:
|
||||
if args.userland:
|
||||
target_list = '{}-linux-user'.format(args.arch)
|
||||
else:
|
||||
target_list = '{}-softmmu'.format(args.arch)
|
||||
|
||||
Reference in New Issue
Block a user