From 5794bf11dfc359765343c67b791f65bb233b6d88 Mon Sep 17 00:00:00 2001 From: Vagrant Cascadian Date: Wed, 26 Jan 2022 19:58:27 +0000 Subject: [PATCH] add-debian-revision-to-u-boot-version 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a30098c66..92fb9875f 100644 --- a/Makefile +++ b/Makefile @@ -456,7 +456,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 -- 2.30.2