waf: always load git_submodule tool

That was a silly mistake done by 65e19fd ("waf: don't update submodules if not
a git repository").
This commit is contained in:
Gustavo Jose de Sousa 2016-08-18 18:22:59 -03:00 committed by Lucas De Marchi
parent 0395141450
commit 6834308fbf
1 changed files with 2 additions and 6 deletions

View File

@ -168,12 +168,8 @@ def configure(cfg):
cfg.end_msg('no')
cfg.env.SUBMODULE_UPDATE = False
cfg.start_msg('Update submodules')
if cfg.env.SUBMODULE_UPDATE:
cfg.end_msg('yes')
cfg.load('git_submodule')
else:
cfg.end_msg('no')
cfg.msg('Update submodules', 'yes' if cfg.env.SUBMODULE_UPDATE else 'no')
cfg.load('git_submodule')
if cfg.options.enable_benchmarks:
cfg.load('gbenchmark')