summaryrefslogtreecommitdiff
path: root/tools/setlocalversion
Commit message (Collapse)AuthorAgeLines
* setlocalversion: add some more fallbacks for git describeMike Frysinger2010-09-21-1/+2
| | | | | | | | | If working out of a custom git tree that lacks annotated tags, the 'git describe' operation spews "fatal: cannot describe" errors all over the place. So add some fallback code in case the best naming was unable to locate something useful. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* tools/setlocalversion: use git svn instead of git-svnPeter Korsgaard2009-04-04-1/+1
| | | | | | | Use the new "git <subcmd>" syntax instead of the deprecated "git-<subcmd>". Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Add support for u-boot in svn and localversion-* filesMike Frysinger2008-04-18-0/+14
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* tools/setlocalversion: use a git-describe-ish formatWolfgang Denk2008-03-14-3/+6
| | | | | | | | | | | Change the automatic local version to have the form -nnnnn-gSHA1SUMID, where 'nnnnn' is the number of commits since the last tag (i.e., 1.3.2-rc3). This makes it much easier to recognize "newer" versions and to see how much has been changed since the referenced tag. Stolen from Linux kernel's scripts/setlocalversio, see commit d882421f. Signed-off-by: Wolfgang Denk <wd@denx.de>
* Add GIT version information (commid ID) to untagged U-Boot versionsWolfgang Denk2006-02-21-0/+22
As done in the linux kernel, the U-Boot version (U_BOOT_VERSION) of all unreleased (untagged) U-Boot images will be automatically extended upon compiletime with a part of the GIT commit ID and possibly with "dirty" if uncommited changes are detected. Here an example for the resulting version: "U-Boot 1.1.4-g3457ac18-dirty" The version is now maintained in the toplevel Makefile and the version headers are autogenerated. Patch by Stefan Roese, 9 Feb 2006