add-debian-revision-to-u-boot-version
authorVagrant Cascadian <vagrant@debian.org>
Tue, 8 Dec 2015 16:59:47 +0000 (16:59 +0000)
committerVagrant Cascadian <vagrant@debian.org>
Tue, 8 Dec 2015 16:59:47 +0000 (16:59 +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 fd06024104288ca3f2db95fa377966205ccc34ee..92f0f01237b627a5e665535a20045882e213d870 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -359,7 +359,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