mirror of https://github.com/ArduPilot/ardupilot
build: move Linux configuration options to its own sections
This commit is contained in:
parent
b1b4b66e65
commit
4697089a82
|
@ -383,6 +383,7 @@ def _select_programs_from_group(bld):
|
|||
def options(opt):
|
||||
opt.ap_groups = {
|
||||
'configure': opt.add_option_group('Ardupilot configure options'),
|
||||
'linux': opt.add_option_group('Linux boards configure options'),
|
||||
'build': opt.add_option_group('Ardupilot build options'),
|
||||
'check': opt.add_option_group('Ardupilot check options'),
|
||||
'clean': opt.add_option_group('Ardupilot clean options'),
|
||||
|
|
18
wscript
18
wscript
|
@ -82,6 +82,16 @@ Don't update git submodules. Useful for building with submodules at specific
|
|||
revisions.
|
||||
''')
|
||||
|
||||
g.add_option('--disable-header-checks', action='store_true',
|
||||
default=False,
|
||||
help="Disable checking of headers")
|
||||
|
||||
g.add_option('--default-parameters',
|
||||
default=None,
|
||||
help='set default parameters to embed in the firmware')
|
||||
|
||||
g = opt.ap_groups['linux']
|
||||
|
||||
g.add_option('--rsync-dest',
|
||||
dest='rsync_dest',
|
||||
action='store',
|
||||
|
@ -108,19 +118,11 @@ order to save typing.
|
|||
default=False,
|
||||
help="Disable compilation and test execution")
|
||||
|
||||
g.add_option('--disable-header-checks', action='store_true',
|
||||
default=False,
|
||||
help="Disable checking of headers")
|
||||
|
||||
g.add_option('--static',
|
||||
action='store_true',
|
||||
default=False,
|
||||
help='Force a static build')
|
||||
|
||||
g.add_option('--default-parameters',
|
||||
default=None,
|
||||
help='set default parameters to embed in the firmware')
|
||||
|
||||
def _collect_autoconfig_files(cfg):
|
||||
for m in sys.modules.values():
|
||||
paths = []
|
||||
|
|
Loading…
Reference in New Issue