mirror of https://github.com/ArduPilot/ardupilot
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:
parent
0395141450
commit
6834308fbf
6
wscript
6
wscript
|
@ -168,12 +168,8 @@ def configure(cfg):
|
||||||
cfg.end_msg('no')
|
cfg.end_msg('no')
|
||||||
cfg.env.SUBMODULE_UPDATE = False
|
cfg.env.SUBMODULE_UPDATE = False
|
||||||
|
|
||||||
cfg.start_msg('Update submodules')
|
cfg.msg('Update submodules', 'yes' if cfg.env.SUBMODULE_UPDATE else 'no')
|
||||||
if cfg.env.SUBMODULE_UPDATE:
|
|
||||||
cfg.end_msg('yes')
|
|
||||||
cfg.load('git_submodule')
|
cfg.load('git_submodule')
|
||||||
else:
|
|
||||||
cfg.end_msg('no')
|
|
||||||
|
|
||||||
if cfg.options.enable_benchmarks:
|
if cfg.options.enable_benchmarks:
|
||||||
cfg.load('gbenchmark')
|
cfg.load('gbenchmark')
|
||||||
|
|
Loading…
Reference in New Issue