mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 21:25:19 -05:00
deploy-release: Make upx part optional and disable it.
upx doesn't like the Rockbox Utility binaries built with MinGW's gcc 4.5. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26794 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f053b0d606
commit
1727c9918f
1 changed files with 9 additions and 3 deletions
|
|
@ -79,6 +79,8 @@ elif sys.platform == "darwin":
|
||||||
else:
|
else:
|
||||||
progexe = program
|
progexe = program
|
||||||
|
|
||||||
|
# all files of the program. Will get put into an archive after building
|
||||||
|
# (zip on w32, tar.bz2 on Linux). Does not apply on Mac which uses dmg.
|
||||||
programfiles = [ progexe ]
|
programfiles = [ progexe ]
|
||||||
|
|
||||||
svnserver = "svn://svn.rockbox.org/rockbox/"
|
svnserver = "svn://svn.rockbox.org/rockbox/"
|
||||||
|
|
@ -103,6 +105,9 @@ svnpaths = [ "rbutil/",
|
||||||
"tools/voicefont.h",
|
"tools/voicefont.h",
|
||||||
"tools/wavtrim.c",
|
"tools/wavtrim.c",
|
||||||
"tools/sapi_voice.vbs" ]
|
"tools/sapi_voice.vbs" ]
|
||||||
|
# set this to true to run upx on the resulting binary, false to skip this step.
|
||||||
|
# only used on w32.
|
||||||
|
useupx = False
|
||||||
|
|
||||||
# == Functions ==
|
# == Functions ==
|
||||||
def usage(myself):
|
def usage(myself):
|
||||||
|
|
@ -483,9 +488,10 @@ def main():
|
||||||
tempclean(workfolder, cleanup and not keeptemp)
|
tempclean(workfolder, cleanup and not keeptemp)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
if sys.platform == "win32":
|
if sys.platform == "win32":
|
||||||
if not upxfile(sourcefolder) == 0:
|
if useupx == True:
|
||||||
tempclean(workfolder, cleanup and not keeptemp)
|
if not upxfile(sourcefolder) == 0:
|
||||||
sys.exit(1)
|
tempclean(workfolder, cleanup and not keeptemp)
|
||||||
|
sys.exit(1)
|
||||||
archive = zipball(ver, sourcefolder)
|
archive = zipball(ver, sourcefolder)
|
||||||
elif sys.platform == "darwin":
|
elif sys.platform == "darwin":
|
||||||
archive = macdeploy(ver, sourcefolder)
|
archive = macdeploy(ver, sourcefolder)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue