ardupilot/APMrover2/wscript

33 lines
774 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_VisualOdom',
'AP_AdvancedFailsafe',
'AP_WheelEncoder',
'AP_SmartRTL',
],
)
bld.ap_program(
program_name='ardurover',
program_groups=['bin', 'rover'],
use=vehicle + '_libs',
)