mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
a35c0d48b0
Make the rename so that there is no name clashes when defining it as a taskgen method.
35 lines
772 B
Python
35 lines
772 B
Python
#!/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 + [
|
|
'APM_Control',
|
|
'AP_Arming',
|
|
'AP_Camera',
|
|
'AP_Frsky_Telem',
|
|
'AP_L1_Control',
|
|
'AP_Menu',
|
|
'AP_Mount',
|
|
'AP_Navigation',
|
|
'AP_RCMapper',
|
|
'AP_RSSI',
|
|
'AP_Relay',
|
|
'AP_ServoRelayEvents',
|
|
'PID',
|
|
],
|
|
use='mavlink',
|
|
)
|
|
|
|
ardupilotwaf.ap_program(
|
|
bld,
|
|
program_name='ardurover',
|
|
use=vehicle + '_libs',
|
|
)
|