mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-27 04:01:36 +01:00
build-linux and build-gem5 seem to work
This commit is contained in:
@@ -35,16 +35,16 @@ parser.add_argument(
|
||||
nargs='*'
|
||||
)
|
||||
args = common.setup(parser)
|
||||
if common.baremetal is None:
|
||||
image = common.vmlinux
|
||||
if kwargs['baremetal'] is None:
|
||||
image = kwargs['vmlinux']
|
||||
else:
|
||||
image = common.image
|
||||
image = kwargs['image']
|
||||
tool= common.get_toolchain_tool(kwargs['tool'])
|
||||
if kwargs['dry']:
|
||||
print(tool)
|
||||
else:
|
||||
sys.exit(self.sh.run_cmd(
|
||||
[tool, LF]
|
||||
+ common.add_newlines(kwargs['extra_args']),
|
||||
cmd_file=os.path.join(common.run_dir, 'run-toolchain.sh'),
|
||||
+ self.sh.add_newlines(kwargs['extra_args']),
|
||||
cmd_file=os.path.join(kwargs['run_dir'], 'run-toolchain.sh'),
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user