waf: use program group for main products build commands

Use program group name instead of task generator name. That way all programs
belonging to a product are built. That will be the case for different frames
for copter.
This commit is contained in:
Gustavo Jose de Sousa 2016-03-24 17:18:06 -03:00 committed by Lucas De Marchi
parent a4c099feaa
commit 93473f68ce

21
wscript
View File

@ -246,22 +246,11 @@ ardupilotwaf.build_command('check-all',
doc='shortcut for `waf check --alltests`',
)
ardupilotwaf.build_command('antennatracker',
targets='bin/antennatracker',
doc='builds antennatracker',
)
ardupilotwaf.build_command('copter',
targets='bin/arducopter',
doc='builds arducopter',
)
ardupilotwaf.build_command('plane',
targets='bin/arduplane',
doc='builds arduplane',
)
ardupilotwaf.build_command('rover',
targets='bin/ardurover',
doc='builds ardurover',
)
for name in ('antennatracker', 'copter', 'plane', 'rover'):
ardupilotwaf.build_command(name,
program_group_list=name,
doc='builds %s programs' % name,
)
for program_group in ('all', 'bin', 'tools', 'examples', 'tests', 'benchmarks'):
ardupilotwaf.build_command(program_group,