mirror of https://github.com/ArduPilot/ardupilot
build: move more Linux-only options inside group
prefix, destdir, libdir, bindir only make sense for Linux targets.
This commit is contained in:
parent
73edda697d
commit
3ecc138c86
7
wscript
7
wscript
|
@ -91,6 +91,13 @@ submodules at specific revisions.
|
|||
|
||||
g = opt.ap_groups['linux']
|
||||
|
||||
linux_options = ('--prefix', '--destdir', '--bindir', '--libdir')
|
||||
for k in linux_options:
|
||||
option = opt.parser.get_option(k)
|
||||
if option:
|
||||
opt.parser.remove_option(k)
|
||||
g.add_option(option)
|
||||
|
||||
g.add_option('--rsync-dest',
|
||||
dest='rsync_dest',
|
||||
action='store',
|
||||
|
|
Loading…
Reference in New Issue