waf: add git_submodule post build callback

So that the user is warned about skipped submodule updates.
This commit is contained in:
Gustavo Jose de Sousa 2016-07-22 20:41:04 -03:00 committed by Lucas De Marchi
parent 4bd17ab90c
commit 1ad0c685eb

View File

@ -341,6 +341,8 @@ def build(bld):
)
bld.load('build_summary')
if bld.env.SUBMODULE_UPDATE:
bld.git_submodule_post_fun()
ardupilotwaf.build_command('check',
program_group_list='all',