ardupilot/APMrover2/wscript

37 lines
888 B
Python

#!/usr/bin/env python
# encoding: utf-8
def build(bld):
vehicle = bld.path.name
bld.ap_stlib(
name=vehicle + '_libs',
ap_vehicle=vehicle,
ap_libraries=bld.ap_common_vehicle_libraries() + [
'APM_Control',
'AP_Arming',
'AP_Camera',
'AP_L1_Control',
'AP_Mount',
'AP_Navigation',
'AP_RCMapper',
'AP_RSSI',
'AC_PID',
'AP_Stats',
'AP_Beacon',
'AP_AdvancedFailsafe',
'AP_WheelEncoder',
'AP_SmartRTL',
'AC_Fence',
'AP_Proximity',
'AC_Avoidance',
'AC_AttitudeControl',
'AP_Devo_Telem',
],
)
bld.ap_program(
program_name='ardurover',
program_groups=['bin', 'rover'],
use=vehicle + '_libs',
)