mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
Copter: make binary names arducopter and arducopter-heli
This commit is contained in:
parent
e85df47b06
commit
8dcde8ee92
@ -35,14 +35,16 @@ def build(bld):
|
||||
],
|
||||
)
|
||||
|
||||
frames = (
|
||||
'quad', 'heli',
|
||||
)
|
||||
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],
|
||||
bld.ap_program(
|
||||
program_name='arducopter',
|
||||
program_groups=['bin', 'copter'],
|
||||
use=vehicle + '_libs',
|
||||
defines=['FRAME_CONFIG=MULTICOPTER_FRAME'],
|
||||
)
|
||||
|
||||
bld.ap_program(
|
||||
program_name='arducopter-heli',
|
||||
program_groups=['bin', 'copter'],
|
||||
use=vehicle + '_libs',
|
||||
defines=['FRAME_CONFIG=HELI_FRAME'],
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user