Add dirty flag to git describe
[coreboot.git] / Makefile.inc
index d6f58edfeb0e348f5bace6bd25681bcd8dd00b19..37e4fb696d85163642dba32acdf69bfd1f5b9567 100644 (file)
@@ -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