2018-05-24 03:10:21 -03:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# encoding: utf-8
|
2023-01-04 21:09:23 -04:00
|
|
|
from waflib.TaskGen import after_method, before_method, feature
|
2018-05-24 03:10:21 -03:00
|
|
|
|
|
|
|
def build(bld):
|
2023-01-04 21:09:23 -04:00
|
|
|
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',
|
|
|
|
'AP_RCMapper',
|
|
|
|
'AP_Arming'
|
|
|
|
],
|
|
|
|
)
|
|
|
|
bld.ap_program(
|
|
|
|
program_groups=['tool'],
|
|
|
|
use=[vehicle + '_libs'],
|
2018-05-24 03:10:21 -03:00
|
|
|
)
|