1
0
Fork 0
forked from len0rd/rockbox

deploy.py: support adding a build id.

Add support for passing and injecting a build ID to the souces prior to
compiling. Allows to easily create rebuilds of Rockbox Utility without creating
false positives on update detection.
Fix a typo in version.h. Thanks to sideral for noting.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29825 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2011-05-05 17:19:00 +00:00
parent e90d53cea8
commit 6ba552cc5d
3 changed files with 39 additions and 22 deletions

View file

@ -53,8 +53,9 @@ deploy.progexe = {
"linux2" : "RockboxUtility"
}
deploy.regreplace = {
"rbutil/rbutilqt/version.h" : ["SVN \$.*\$", "SVN r%REVISION%"],
"rbutil/rbutilqt/Info.plist" : ["SVN \$.*\$", "SVN r%REVISION%"]
"rbutil/rbutilqt/version.h" : [["SVN \$.*\$", "SVN r%REVISION%"],
["(^#define BUILDID).*", "\\1 \"-%BUILDID%\""]],
"rbutil/rbutilqt/Info.plist" : [["SVN \$.*\$", "SVN r%REVISION%"]],
}
# OS X 10.6 defaults to gcc 4.2. Building universal binaries that are
# compatible with 10.4 requires using gcc-4.0.