mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
f2dec971e7
As an effort to keep things specific to ardupilot API in the build system consistent and easy way to identify.
48 lines
1.1 KiB
Python
48 lines
1.1 KiB
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',
|
|
'APM_OBC',
|
|
'AP_ADSB',
|
|
'AP_Arming',
|
|
'AP_Camera',
|
|
'AP_Frsky_Telem',
|
|
'AP_L1_Control',
|
|
'AP_Menu',
|
|
'AP_Navigation',
|
|
'AP_Parachute',
|
|
'AP_RCMapper',
|
|
'AP_Relay',
|
|
'AP_ServoRelayEvents',
|
|
'AP_SpdHgtControl',
|
|
'AP_TECS',
|
|
'AP_InertialNav',
|
|
'AC_WPNav',
|
|
'AC_AttitudeControl',
|
|
'AP_Motors',
|
|
'AC_PID',
|
|
'AC_Fence',
|
|
'AC_Avoidance'
|
|
],
|
|
use='mavlink',
|
|
)
|
|
|
|
bld.ap_program(
|
|
program_name='arduplane',
|
|
program_groups=['bin', 'plane'],
|
|
use=vehicle + '_libs',
|
|
)
|
|
|
|
bld.ap_program(
|
|
program_name='arduplane-tri',
|
|
program_groups=['bin', 'plane'],
|
|
use=vehicle + '_libs',
|
|
defines=['FRAME_CONFIG=TRI_FRAME'],
|
|
)
|