mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-10 05:35:20 -05:00
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:
parent
3762b36b1a
commit
3bae42e9f9
1 changed files with 3 additions and 1 deletions
|
|
@ -67,8 +67,10 @@ program = "rbutilqt"
|
||||||
project = "rbutil/rbutilqt/rbutilqt.pro"
|
project = "rbutil/rbutilqt/rbutilqt.pro"
|
||||||
if sys.platform == "win32":
|
if sys.platform == "win32":
|
||||||
progexe = "Release/rbutilqt.exe"
|
progexe = "Release/rbutilqt.exe"
|
||||||
|
make = "mingw32-make"
|
||||||
else:
|
else:
|
||||||
progexe = program
|
progexe = program
|
||||||
|
make = "make"
|
||||||
|
|
||||||
programfiles = [ progexe ]
|
programfiles = [ progexe ]
|
||||||
|
|
||||||
|
|
@ -205,7 +207,7 @@ def qmake(qmake="qmake", projfile=project, wd=".", static=True):
|
||||||
def build(wd="."):
|
def build(wd="."):
|
||||||
# make
|
# make
|
||||||
print "Building ..."
|
print "Building ..."
|
||||||
output = subprocess.Popen(["make"], stdout=subprocess.PIPE, cwd=wd)
|
output = subprocess.Popen([make], stdout=subprocess.PIPE, cwd=wd)
|
||||||
while True:
|
while True:
|
||||||
c = output.stdout.readline()
|
c = output.stdout.readline()
|
||||||
sys.stdout.write(".")
|
sys.stdout.write(".")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue