ardupilot/APMrover2/wscript
Gustavo Jose de Sousa a4c099feaa waf: create program groups for main products
Currently we need to build a different binary for each type of copter frame.
This is a preparation for setting all those binaries to a group called
"copter". We create the groups for the rest of the main products for
consistency.
2016-03-26 15:43:08 -03:00

32 lines
729 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() + [
'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',
)
bld.ap_program(
program_name='ardurover',
program_groups=['bin', 'rover'],
use=vehicle + '_libs',
)