Sub: allow partial builds with new mavlink as submodule

The task generator for the mavlink headers is given a name 'mavlink' and is
added as a dependency to all local static libraries, because all of them use
sources that include mavlink headers. It would be nice to have a good way to
detect sources that use mavlink headers or to declare list of libraries that
use the headers, so that the dependency could be added automatically.

Additionally, there's a minor change in syntax for the task generator: using
strings directly instead of lists.
This commit is contained in:
Rustom Jehangir 2016-01-15 23:34:43 -08:00 committed by Andrew Tridgell
parent af5bb3869a
commit caa089c869
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ def build(bld):
'AP_Relay',
'AP_ServoRelayEvents',
],
use='mavlink',
)
ardupilotwaf.program(