diff options
author | Wolfgang Denk <wd@denx.de> | 2008-03-14 16:04:54 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-03-14 16:04:54 +0100 |
commit | b8aa57b5d4d69e8f0810a5e632c0ce41c0f46ee0 (patch) | |
tree | dfd5e848689cbb771f26e15632e58f6c2d30ea08 /tools/img2srec.c | |
parent | c6dc21c84de0f159a1752c5ebd33cff843f63609 (diff) | |
download | u-boot-imx-b8aa57b5d4d69e8f0810a5e632c0ce41c0f46ee0.zip u-boot-imx-b8aa57b5d4d69e8f0810a5e632c0ce41c0f46ee0.tar.gz u-boot-imx-b8aa57b5d4d69e8f0810a5e632c0ce41c0f46ee0.tar.bz2 |
tools/setlocalversion: use a git-describe-ish format
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>
Diffstat (limited to 'tools/img2srec.c')
0 files changed, 0 insertions, 0 deletions