mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-26 11:41:35 +01:00
run kind of runs
This commit is contained in:
@@ -37,7 +37,7 @@ Still uses options explicitly passed with `--config` and
|
||||
'''
|
||||
)
|
||||
self.add_argument(
|
||||
'--config-only', default=False, action='store_true',
|
||||
'--config-only', default=False,
|
||||
help='''\
|
||||
Configure the kernel, but don't build it.
|
||||
'''
|
||||
@@ -91,7 +91,7 @@ Configure the kernel, but don't build it.
|
||||
if self.env['config'] != []:
|
||||
cli_config_fragment_path = os.path.join(build_dir, 'lkmc_cli_config_fragment')
|
||||
cli_config_str = '\n'.join(self.env['config'])
|
||||
common.write_string_to_file(cli_config_fragment_path, cli_config_str)
|
||||
self.write_string_to_file(cli_config_fragment_path, cli_config_str)
|
||||
config_fragments.append(cli_config_fragment_path)
|
||||
self.sh.cp(
|
||||
base_config_file,
|
||||
@@ -133,7 +133,7 @@ Configure the kernel, but don't build it.
|
||||
)
|
||||
# TODO: remove build and source https://stackoverflow.com/questions/13578618/what-does-build-and-source-link-do-in-lib-modules-kernel-version
|
||||
# TODO Basically all kernel modules also basically leak full host paths. Just terrible. Buildroot deals with that stuff nicely for us.
|
||||
# common.rmrf()
|
||||
# self.rmrf()
|
||||
|
||||
def get_build_dir(self):
|
||||
return self.env['linux_build_dir']
|
||||
|
||||
Reference in New Issue
Block a user