add-debian-revision-to-u-boot-version
authorVagrant Cascadian <vagrant@debian.org>
Thu, 10 May 2018 20:24:57 +0000 (21:24 +0100)
committerVagrant Cascadian <vagrant@debian.org>
Thu, 10 May 2018 20:24:57 +0000 (21:24 +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 f31ee60e4cca35a3aa2930fe34c3d65dbc7e740a..92fcd01fd8353a01ca3b267df189ade7d9e50ad9 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