Age | Commit message (Collapse) | Author |
|
Previously the setlocalversion script checked if the git had untagged
commits since the latest tag. If one wants to set extra tags as
checkpoints, other than the official releases, then this will give
incorrect version.
This patch introduce a second optional parameter to setlocalversion, for
specifying a git tag to look for. The Makefile specifies the u-boot version
and passes it to the script. The script will then look for untagged commits
since the "u-boot version"-tag.
ST-Ericsson ID: None
ST-Ericsson FOSS-OUT ID: Trivial
Change-Id: I7315f4d38d6b74b78e118b36aac271859658ff67
Signed-off-by: Robert Rosengren <robert.rosengren@stericsson.com>
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/14578
Reviewed-by: Michael BRANDT <michael.brandt@stericsson.com>
|
|
Use the new "git <subcmd>" syntax instead of the deprecated
"git-<subcmd>".
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
|
|
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
|
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>
|
|
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
|