Sven Schnelle (svens@stackframe.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/173
-gerrit
commit a04bb6f22eec2673f61fc98c03c224a5f5985b13 Author: Sven Schnelle svens@stackframe.org Date: Fri Aug 26 21:57:53 2011 +0200
Add dirty flag to git describe
git describe knows --dirty, which adds -dirty to the verion number if the tree contains uncommited changes. We should add this flag to make it obvious that the COREBOOT_VERSION might be misleading. This is especially important as this version number is now used in the SMBIOS data structures.
Change-Id: If4c608c7455e1bbf0cc530c6299fa00eb0fe4d58 Signed-off-by: Sven Schnelle svens@stackframe.org --- Makefile.inc | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Makefile.inc b/Makefile.inc index d6f58ed..37e4fb6 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -19,7 +19,7 @@
####################################################################### # misleadingly named, this is the coreboot version -export KERNELVERSION := $(shell if [ -d "$(top)/.git" -a -f "`which git`" ]; then git describe; else echo unknown; fi) +export KERNELVERSION := $(shell if [ -d "$(top)/.git" -a -f "`which git`" ]; then git describe --dirty; else echo unknown; fi)
####################################################################### # Basic component discovery