add-debian-revision-to-u-boot-version
authorVagrant Cascadian <vagrant@debian.org>
Wed, 26 Apr 2017 14:08:28 +0000 (14:08 +0000)
committerRaspbian forward porter <root@raspbian.org>
Wed, 26 Apr 2017 14:08:28 +0000 (14:08 +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