From: Piotr Dymacz Date: Wed, 11 Nov 2015 22:54:57 +0000 (+0100) Subject: Add git short hash in U-Boot version string X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=fe2ba37ab9f2b730426ddb0bd349beefa7d7387e;p=oweals%2Fu-boot_mod.git Add git short hash in U-Boot version string --- diff --git a/u-boot/Makefile b/u-boot/Makefile index 06a5c1f..6f07c49 100644 --- a/u-boot/Makefile +++ b/u-boot/Makefile @@ -24,7 +24,7 @@ VERSION = 1 PATCHLEVEL = 1 SUBLEVEL = 4 -EXTRAVERSION = +EXTRAVERSION = -$(shell git rev-parse --short=8 HEAD) U_BOOT_VERSION = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION) VERSION_FILE = include/version_autogenerated.h