build/python/project: add build(), calls _build()

Prepare to add some code around the _build() call.
This commit is contained in:
Max Kellermann
2021-08-28 22:41:31 +02:00
committed by Max Kellermann
parent 4f2f705dca
commit 6f278977e9
9 changed files with 11 additions and 8 deletions

@ -55,7 +55,7 @@ class AutotoolsProject(MakeProject):
subprocess.check_call(configure, cwd=build, env=toolchain.env)
return build
def build(self, toolchain):
def _build(self, toolchain):
build = self.configure(toolchain)
if self.subdirs is not None:
for subdir in self.subdirs: