mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-22 17:55:57 +01:00
getting started: hide the initial build under ./build
make build awesomer and more generic, convert to python rename ./configure to ./download-dependencies, since it wasn't configuring anything
This commit is contained in:
@@ -32,7 +32,6 @@ defaults = {
|
||||
def get_argparse():
|
||||
parser = common.get_argparse(argparse_args={'description':'Run Linux on an emulator'})
|
||||
common.add_build_arguments(parser)
|
||||
kernel_module_group = parser.add_mutually_exclusive_group()
|
||||
parser.add_argument(
|
||||
'-B', '--buildroot-config', default=defaults['buildroot_config'], action='append',
|
||||
help='''Add a single Buildroot config to the current build.
|
||||
@@ -93,7 +92,7 @@ Ignore all default kernel configurations and use this file instead.
|
||||
Still uses options explicitly passed with `-C` and `-c` on top of it.
|
||||
'''
|
||||
)
|
||||
kernel_module_group.add_argument(
|
||||
parser.add_argument(
|
||||
'-k', '--kernel-modules', default=defaults['kernel_modules'], action='store_true',
|
||||
help='''Reconfigure and rebuild the kernel modules package.
|
||||
Force --build-linux to true, since building the modules requires building Linux.
|
||||
|
||||
Reference in New Issue
Block a user