ardupilot/libraries/AP_DroneCAN/examples/DroneCAN_sniffer/wscript

20 lines
502 B
Python

#!/usr/bin/env python
# encoding: utf-8
from waflib.TaskGen import after_method, before_method, feature
def build(bld):
vehicle = bld.path.name
bld.ap_stlib(
name=vehicle + '_libs',
ap_vehicle='UNKNOWN',
dynamic_source='modules/DroneCAN/libcanard/dsdlc_generated/src/**.c',
ap_libraries=bld.ap_common_vehicle_libraries() + [
'AP_OSD',
],
)
bld.ap_program(
program_groups=['tool'],
use=[vehicle + '_libs'],
)