Sub: Remove frame-specific waf targets

This commit is contained in:
Jacob Walser 2017-02-02 22:18:51 -05:00 committed by Andrew Tridgell
parent 16d27c05ea
commit e0cd1d0679
1 changed files with 4 additions and 11 deletions

View File

@ -29,15 +29,8 @@ def build(bld):
], ],
) )
frames = ( bld.ap_program(
'bluerov','vectored','vectored6DOF','simplerov','vectored90' program_name='ardusub',
program_groups=['bin', 'sub'],
use=vehicle + '_libs',
) )
for frame in frames:
frame_config = frame.upper().replace('-','_') + '_FRAME'
bld.ap_program(
program_name='ardusub-%s' % frame,
program_groups=['bin', 'sub'],
use=vehicle + '_libs',
defines=['FRAME_CONFIG=%s' % frame_config],
)