[PATCH] kbuild: automatically append a short string to the version based upon the...
authorRyan Anderson <ryan@michonline.com>
Sun, 31 Jul 2005 08:57:49 +0000 (04:57 -0400)
committerSam Ravnborg <sam@mars.(none)>
Wed, 10 Aug 2005 19:11:23 +0000 (21:11 +0200)
commitaaebf4332018980fef4e601d1b5a6e52dd9e9ae4
tree394ff78f08be95894fe941c752632dcb2e0a0ebf
parentdbec486632d2303f5c0e75af7a8473fa4c4a145a
[PATCH] kbuild: automatically append a short string to the version based upon the git commit

If CONFIG_AUTO_LOCALVERSION is set, the user is using a git-based tree, and the
current HEAD is not referred to by any tags in .git/refs/tags/, append -g and
the first 8 characters of the commit to the version string.  This makes it
easier to use git-bisect, and/or to do a daily build, without trampling on your
older, working builds, or accidentally setting up conflicting sets of modules.

Signed-off-by: Ryan Anderson <ryan@michonline.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Makefile
init/Kconfig
scripts/setlocalversion [new file with mode: 0644]