From 79fb9834d936583d3f3bcf07fea6ba2d84d6c5ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20H=C3=A4dicke?= Date: Tue, 10 Oct 2017 00:08:14 +0200 Subject: [PATCH] python/makeproject: do not use hard-code absolute path to make --- python/build/makeproject.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):