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

@ -53,7 +53,7 @@ class CmakeProject(Project):
configure(toolchain, src, build, configure_args)
return build
def build(self, toolchain):
def _build(self, toolchain):
build = self.configure(toolchain)
subprocess.check_call(['ninja', 'install'],
cwd=build, env=toolchain.env)