mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-29 04:54:27 +01:00
add a --quiet flag
test-gdb and test-userland produce beautiful output by default create def get_common_args to help forward common args to child calls... it is ugly, but I'm lazy for a perfect solution now
This commit is contained in:
@@ -9,7 +9,7 @@ class Main(common.BuildCliFunction):
|
||||
def __init__(self):
|
||||
super().__init__()
|
||||
self.add_argument(
|
||||
'--userland',
|
||||
'--user-mode',
|
||||
default=False,
|
||||
help='Build QEMU user mode instead of system.',
|
||||
)
|
||||
@@ -27,7 +27,7 @@ class Main(common.BuildCliFunction):
|
||||
verbose = ['V=1']
|
||||
else:
|
||||
verbose = []
|
||||
if self.env['userland']:
|
||||
if self.env['user_mode']:
|
||||
target_list = '{}-linux-user'.format(self.env['arch'])
|
||||
else:
|
||||
target_list = '{}-softmmu'.format(self.env['arch'])
|
||||
|
||||
Reference in New Issue
Block a user