diff --git a/python/build/makeproject.py b/python/build/makeproject.py index 9ec95e27f..9d498cfbd 100644 --- a/python/build/makeproject.py +++ b/python/build/makeproject.py @@ -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):