build/python/make: rename build() to build_make()

Eliminate conflict with other Project classes.
This commit is contained in:
Max Kellermann 2021-08-28 22:38:02 +02:00 committed by Max Kellermann
parent f31e38145d
commit 4f2f705dca
3 changed files with 4 additions and 4 deletions

View File

@ -59,6 +59,6 @@ class AutotoolsProject(MakeProject):
build = self.configure(toolchain)
if self.subdirs is not None:
for subdir in self.subdirs:
MakeProject.build(self, toolchain, os.path.join(build, subdir))
self.build_make(toolchain, os.path.join(build, subdir))
else:
MakeProject.build(self, toolchain, build)
self.build_make(toolchain, build)

View File

@ -22,7 +22,7 @@ class MakeProject(Project):
subprocess.check_call(['/usr/bin/make'] + args,
cwd=wd, env=toolchain.env)
def build(self, toolchain, wd, install=True):
def build_make(self, toolchain, wd, install=True):
self.make(toolchain, wd, self.get_make_args(toolchain))
if install:
self.make(toolchain, wd, self.get_make_install_args(toolchain))

View File

@ -58,4 +58,4 @@ class OpenSSLProject(MakeProject):
openssl_arch,
'--prefix=' + toolchain.install_prefix],
cwd=src, env=toolchain.env)
MakeProject.build(self, toolchain, src)
self.build_make(toolchain, src)