mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
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):
|
def options(opt):
|
||||||
opt.ap_groups = {
|
opt.ap_groups = {
|
||||||
'configure': opt.add_option_group('Ardupilot configure options'),
|
'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'),
|
'build': opt.add_option_group('Ardupilot build options'),
|
||||||
'check': opt.add_option_group('Ardupilot check options'),
|
'check': opt.add_option_group('Ardupilot check options'),
|
||||||
'clean': opt.add_option_group('Ardupilot clean 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.
|
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',
|
g.add_option('--rsync-dest',
|
||||||
dest='rsync_dest',
|
dest='rsync_dest',
|
||||||
action='store',
|
action='store',
|
||||||
@ -108,19 +118,11 @@ order to save typing.
|
|||||||
default=False,
|
default=False,
|
||||||
help="Disable compilation and test execution")
|
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',
|
g.add_option('--static',
|
||||||
action='store_true',
|
action='store_true',
|
||||||
default=False,
|
default=False,
|
||||||
help='Force a static build')
|
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):
|
def _collect_autoconfig_files(cfg):
|
||||||
for m in sys.modules.values():
|
for m in sys.modules.values():
|
||||||
paths = []
|
paths = []
|
||||||
|
Loading…
Reference in New Issue
Block a user