build script: support target with git submodules

This commit is contained in:
alexey.lysiuk 2020-06-13 13:25:03 +03:00
parent 0d9ab3cfa8
commit 93a020330c

View file

@ -274,7 +274,7 @@ class Builder(object):
def _prepare_source(self):
if not os.path.exists(self.source_path):
args = ('git', 'clone', self.target.url, self.source_path)
args = ('git', 'clone', '--recurse-submodules', self.target.url, self.source_path)
subprocess.check_call(args, cwd=self.root_path)
if self.checkout_commit: