mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-05 15:33:57 -04:00
ArduCopter: waf: build all frame types
This commit is contained in:
parent
9bec8e5133
commit
6074385873
@ -34,8 +34,15 @@ def build(bld):
|
||||
use='mavlink',
|
||||
)
|
||||
|
||||
bld.ap_program(
|
||||
program_name='arducopter',
|
||||
program_groups=['bin', 'copter'],
|
||||
use=vehicle + '_libs',
|
||||
frames = (
|
||||
'quad', 'tri', 'hexa', 'y6', 'octa', 'octa-quad', 'heli', 'single',
|
||||
'coax',
|
||||
)
|
||||
for frame in frames:
|
||||
frame_config = frame.upper().replace('-', '_') + '_FRAME'
|
||||
bld.ap_program(
|
||||
program_name='arducopter-%s' % frame,
|
||||
program_groups=['bin', 'copter'],
|
||||
use=vehicle + '_libs',
|
||||
defines=['FRAME_CONFIG=%s' % frame_config],
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user