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:
Ciro Santilli 六四事件 法轮功
2018-10-14 00:00:00 +00:00
parent 98bada1e7c
commit 04812521b2
10 changed files with 278 additions and 192 deletions

View File

@@ -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.