add-debian-revision-to-u-boot-version
authorVagrant Cascadian <vagrant@debian.org>
Thu, 22 Dec 2016 04:44:44 +0000 (04:44 +0000)
committerVagrant Cascadian <vagrant@debian.org>
Thu, 22 Dec 2016 04:44:44 +0000 (04:44 +0000)
Add the debian revision to the U-boot version, which is displayed at
boot and can be helpful to determine which specific version is used.

Gbp-Pq: Name add-debian-revision-to-u-boot-version

Makefile

index 8ca1db57d439619d912258f68e11b353c9a785f4..106741195cbbeef82f0261b8215ae11641406b1f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -364,7 +364,7 @@ KBUILD_AFLAGS   := -D__ASSEMBLY__
 
 # Read UBOOTRELEASE from include/config/uboot.release (if it exists)
 UBOOTRELEASE = $(shell cat include/config/uboot.release 2> /dev/null)
-UBOOTVERSION = $(VERSION)$(if $(PATCHLEVEL),.$(PATCHLEVEL)$(if $(SUBLEVEL),.$(SUBLEVEL)))$(EXTRAVERSION)
+UBOOTVERSION = $(VERSION)$(if $(PATCHLEVEL),.$(PATCHLEVEL)$(if $(SUBLEVEL),.$(SUBLEVEL)))$(EXTRAVERSION)$(DEBIAN_REVISION)
 
 export VERSION PATCHLEVEL SUBLEVEL UBOOTRELEASE UBOOTVERSION
 export ARCH CPU BOARD VENDOR SOC CPUDIR BOARDDIR