X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=coreboot.git;a=blobdiff_plain;f=Makefile.inc;fp=Makefile.inc;h=6c51a84cdd8cc349639632d23c05b618955993b5;hp=89467db6d939d21279244538cd8f0ff8eab1736f;hb=875b9b197f64e845a2c220a1f69a5c1b4000092f;hpb=b98dbfb97e7a110ee2fc78b10524a147112e18a4 diff --git a/Makefile.inc b/Makefile.inc index 89467db6d..6c51a84cd 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -19,8 +19,7 @@ ####################################################################### # misleadingly named, this is the coreboot version -REV=-r$(shell if [ -d $(top)/.git -a -f "`which git`" ]; then git --git-dir=/$(top)/.git show -s --pretty=format:%h; fi) -export KERNELVERSION := 4.0$(REV) +export KERNELVERSION := $(shell if [ -d "$(top)/.git" -a -f "`which git`" ]; then git describe; else echo unknown; fi) ####################################################################### # Basic component discovery