1
0
Fork 0
forked from len0rd/rockbox

Rockbox Utility: add "revision" information back.

Add a revision-like information and make deploy.py replace it with the git
hash.

Change-Id: Ic88ad0b2af255e76a7129a6a5cf52663b868fd32
This commit is contained in:
Dominik Riebeling 2012-03-06 21:45:54 +01:00
parent b069562ef4
commit 7d2c7b83b5
3 changed files with 5 additions and 5 deletions

View file

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