2015-10-09 11:03:59 -03:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# encoding: utf-8
|
|
|
|
|
|
|
|
import ardupilotwaf
|
|
|
|
|
|
|
|
def build(bld):
|
|
|
|
vehicle = bld.path.name
|
|
|
|
ardupilotwaf.vehicle_stlib(
|
|
|
|
bld,
|
|
|
|
name=vehicle + '_libs',
|
|
|
|
vehicle=vehicle,
|
|
|
|
libraries=ardupilotwaf.COMMON_VEHICLE_DEPENDENT_LIBRARIES + [
|
2015-11-27 11:43:09 -04:00
|
|
|
'AP_ADSB',
|
2015-10-09 11:03:59 -03: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-13 16:35:37 -04:00
|
|
|
use='mavlink',
|
2015-10-09 11:03:59 -03:00
|
|
|
)
|
|
|
|
|
|
|
|
ardupilotwaf.program(
|
|
|
|
bld,
|
|
|
|
use=vehicle + '_libs',
|
|
|
|
)
|