Replay: build: use separate library

There are checks for APM_BUILD_Replay in the source code, so Replay tools needs
a separate static library.
This commit is contained in:
Gustavo Jose de Sousa 2016-06-30 10:45:23 -03:00
parent 85afd9e245
commit f426e2c681

View File

@ -7,7 +7,18 @@ def build(bld):
if not isinstance(bld.get_board(), boards.linux):
return
bld.ap_program(
use='ap',
program_groups='tools',
vehicle = bld.path.name
bld.ap_stlib(
name=vehicle + '_libs',
vehicle=vehicle,
libraries=bld.ap_common_vehicle_libraries() + [
'AP_InertialNav',
],
use='mavlink',
)
bld.ap_program(
program_groups='tools',
use=vehicle + '_libs',
)