mirror of https://github.com/ArduPilot/ardupilot
40 lines
919 B
Python
40 lines
919 B
Python
#!/usr/bin/env python
|
|
# encoding: utf-8
|
|
|
|
def build(bld):
|
|
vehicle = bld.path.name
|
|
bld.ap_stlib(
|
|
name=vehicle + '_libs',
|
|
vehicle=vehicle,
|
|
libraries=bld.ap_common_vehicle_libraries() + [
|
|
'AP_ADSB',
|
|
'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',
|
|
],
|
|
use='mavlink',
|
|
)
|
|
|
|
bld.ap_program(
|
|
program_name='ardusub',
|
|
use=vehicle + '_libs',
|
|
)
|