mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
Allow extra make args to ./build-qemu -- arg0 arg1
configure args are now ./build-qemu --extra-config-args '"aa a" bb' Also factor out arg names with other builds through _add_argument. Fix #113.
This commit is contained in:
@@ -33,11 +33,7 @@ Build and run all the gem5 unit tests instead of the gem5 executable.
|
||||
https://github.com/cirosantilli/linux-kernel-module-cheat-regression#gem5-unit-tests
|
||||
'''
|
||||
)
|
||||
self.add_argument(
|
||||
'extra_scons_args',
|
||||
metavar='extra-scons-args',
|
||||
nargs='*',
|
||||
)
|
||||
self._add_argument('extra_make_args')
|
||||
|
||||
def build(self):
|
||||
build_dir = self.get_build_dir()
|
||||
@@ -141,7 +137,7 @@ https://github.com/cirosantilli/linux-kernel-module-cheat-regression#gem5-unit-t
|
||||
#'SLICC_HTML=True', LF,
|
||||
] +
|
||||
self.sh.add_newlines(targets) +
|
||||
self.sh.add_newlines(self.env['extra_scons_args'])
|
||||
self.sh.add_newlines(self.env['extra_make_args'])
|
||||
),
|
||||
cwd=self.env['gem5_source_dir'],
|
||||
extra_env=extra_env,
|
||||
|
||||
Reference in New Issue
Block a user