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

@ -23,9 +23,9 @@
// contain a build timestamp because it needs to be the same in different
// files
// VERSION is the plain version number, used for http User-Agent string.
// BUILD is an additional build string to handle package updates (i.e. rebuilds
// because of issues like dependency problems or library updates). Usually
// empty.
// BUILDID is an additional build string to handle package updates (i.e.
// rebuilds because of issues like dependency problems or library updates).
// Usually empty.
#define BUILDID ""
#define VERSION "1.2.9" BUILDID
#define PUREVERSION "SVN $Revision$"