Use mingw32-make when deploy-building on Windows / MinGW as make might not be the MinGW version one.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23525 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2009-11-04 22:24:47 +00:00
parent 3762b36b1a
commit 3bae42e9f9

View file

@ -67,8 +67,10 @@ program = "rbutilqt"
project = "rbutil/rbutilqt/rbutilqt.pro"
if sys.platform == "win32":
progexe = "Release/rbutilqt.exe"
make = "mingw32-make"
else:
progexe = program
make = "make"
programfiles = [ progexe ]
@ -205,7 +207,7 @@ def qmake(qmake="qmake", projfile=project, wd=".", static=True):
def build(wd="."):
# make
print "Building ..."
output = subprocess.Popen(["make"], stdout=subprocess.PIPE, cwd=wd)
output = subprocess.Popen([make], stdout=subprocess.PIPE, cwd=wd)
while True:
c = output.stdout.readline()
sys.stdout.write(".")