run kind of runs

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2018-12-09 00:00:01 +00:00
parent 5e20ba833b
commit fa1e4ffa7d
34 changed files with 848 additions and 838 deletions

View File

@@ -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']