ardupilot/Tools/Replay/wscript
Gustavo Jose de Sousa f2dec971e7 waf: add "ap_" prefix to keywords "libraries" and "vehicle"
As an effort to keep things specific to ardupilot API in the build system
consistent and easy way to identify.
2016-08-01 22:04:16 -03:00

25 lines
468 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',
ap_vehicle=vehicle,
ap_libraries=bld.ap_common_vehicle_libraries() + [
'AP_InertialNav',
],
use='mavlink',
)
bld.ap_program(
program_groups='tools',
use=vehicle + '_libs',
)