add-debian-revision-to-u-boot-version
authorVagrant Cascadian <vagrant@debian.org>
Tue, 28 Jun 2016 07:38:27 +0000 (07:38 +0000)
committerVagrant Cascadian <vagrant@debian.org>
Tue, 28 Jun 2016 07:38:27 +0000 (07:38 +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 ad9d566dab348a6499d517ddf16e2ac6c862e531..cef6ec7f63d18546e4211eca35d0ac5b493eb4a0 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -363,7 +363,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