From a04bffebbab51f7728e3bc2c5438f00508c5e708 Mon Sep 17 00:00:00 2001 From: Andre Heider Date: Mon, 18 Jan 2021 16:54:26 +0100 Subject: arm-trusted-firmware-mvebu: pass commit ids to a3700-utils/mv-ddr-marvell The two required tools fail to identify their version when not compiling from a git clone, patch that in and pass on the used commit hashes. Upon boot it now prints "WTMI-devel-18.12.1-5598e150". Signed-off-by: Andre Heider --- .../patches-a3700-utils/001-version.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 package/boot/arm-trusted-firmware-mvebu/patches-a3700-utils/001-version.patch (limited to 'package/boot/arm-trusted-firmware-mvebu/patches-a3700-utils') diff --git a/package/boot/arm-trusted-firmware-mvebu/patches-a3700-utils/001-version.patch b/package/boot/arm-trusted-firmware-mvebu/patches-a3700-utils/001-version.patch new file mode 100644 index 0000000000..745e615074 --- /dev/null +++ b/package/boot/arm-trusted-firmware-mvebu/patches-a3700-utils/001-version.patch @@ -0,0 +1,13 @@ +diff --git a/wtmi/sys_init/Makefile b/wtmi/sys_init/Makefile +--- a/wtmi/sys_init/Makefile ++++ b/wtmi/sys_init/Makefile +@@ -51,7 +51,8 @@ ECHO = @echo + SED = @sed + + LOCAL_VERSION_STRING ?= -armada +-BUILD_STRING := $(shell git log -n 1 --pretty=format:"%h") ++A3700_UTILS_COMMIT_ID ?= $(shell git log -n 1 --pretty=format:"%h") ++BUILD_STRING := $(A3700_UTILS_COMMIT_ID) + VERSION_STRING := $(LOCAL_VERSION_STRING)-$(BUILD_STRING) + + CPUOPTS = -mthumb -mcpu=cortex-m3 -mlittle-endian -- cgit v1.2.3