2015-12-30 18:57:56 -04:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# encoding: utf-8
|
|
|
|
|
|
|
|
def build(bld):
|
|
|
|
vehicle = bld.path.name
|
2016-02-15 18:48:31 -04:00
|
|
|
bld.ap_stlib(
|
2015-12-30 18:57:56 -04:00
|
|
|
name=vehicle + '_libs',
|
|
|
|
vehicle=vehicle,
|
2016-02-15 18:48:31 -04:00
|
|
|
libraries=bld.ap_common_vehicle_libraries() + [
|
2015-12-30 18:57:56 -04:00
|
|
|
'AC_AttitudeControl',
|
|
|
|
'AC_Fence',
|
|
|
|
'AC_PID',
|
|
|
|
'AC_PrecLand',
|
|
|
|
'AC_Sprayer',
|
|
|
|
'AC_WPNav',
|
|
|
|
'AP_Camera',
|
|
|
|
'AP_EPM',
|
|
|
|
'AP_Frsky_Telem',
|
|
|
|
'AP_IRLock',
|
|
|
|
'AP_InertialNav',
|
|
|
|
'AP_LandingGear',
|
|
|
|
'AP_Menu',
|
|
|
|
'AP_Motors',
|
|
|
|
'AP_Mount',
|
|
|
|
'AP_Parachute',
|
|
|
|
'AP_RCMapper',
|
|
|
|
'AP_RPM',
|
|
|
|
'AP_RSSI',
|
|
|
|
'AP_Relay',
|
|
|
|
'AP_ServoRelayEvents',
|
|
|
|
],
|
2016-01-16 03:34:43 -04:00
|
|
|
use='mavlink',
|
2015-12-30 18:57:56 -04:00
|
|
|
)
|
|
|
|
|
2016-02-15 18:48:31 -04:00
|
|
|
bld.ap_program(
|
2016-01-19 03:07:46 -04:00
|
|
|
program_name='ardusub',
|
2015-12-30 18:57:56 -04:00
|
|
|
use=vehicle + '_libs',
|
|
|
|
)
|