add-debian-revision-to-u-boot-version
authorVagrant Cascadian <vagrant@debian.org>
Tue, 14 May 2019 02:07:44 +0000 (03:07 +0100)
committerVagrant Cascadian <vagrant@debian.org>
Tue, 14 May 2019 02:07:44 +0000 (03:07 +0100)
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 6aa08964fff47274f6d4b54343e5071a78eaffa4..f5610f586749c9981a2447072fe1d438b5e43b50 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -381,7 +381,7 @@ KBUILD_AFLAGS       += $(call cc-option,-fno-PIE)
 
 # 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