ardupilot/Tools/Replay/wscript
Gustavo Jose de Sousa f426e2c681 Replay: build: use separate library
There are checks for APM_BUILD_Replay in the source code, so Replay tools needs
a separate static library.
2016-06-30 12:55:18 -03:00

25 lines
462 B
Python

#!/usr/bin/env python
# encoding: utf-8
import boards
def build(bld):
if not isinstance(bld.get_board(), boards.linux):
return
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',
)