python/makeproject: do not use hard-code absolute path to make

This commit is contained in:
Felix Hädicke 2017-10-10 00:08:14 +02:00 committed by Max Kellermann
parent 146db77025
commit 79fb9834d9

View File

@ -24,7 +24,7 @@ class MakeProject(Project):
return ['--quiet', self.install_target]
def make(self, toolchain, wd, args):
subprocess.check_call(['/usr/bin/make'] + args,
subprocess.check_call(['make'] + args,
cwd=wd, env=toolchain.env)
def build_make(self, toolchain, wd, install=True):