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 --- package/boot/arm-trusted-firmware-mvebu/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'package/boot/arm-trusted-firmware-mvebu/Makefile') diff --git a/package/boot/arm-trusted-firmware-mvebu/Makefile b/package/boot/arm-trusted-firmware-mvebu/Makefile index a72fd53c75..c4669edb52 100644 --- a/package/boot/arm-trusted-firmware-mvebu/Makefile +++ b/package/boot/arm-trusted-firmware-mvebu/Makefile @@ -113,6 +113,8 @@ TFA_MAKE_FLAGS += \ WTP=$(STAGING_DIR_IMAGE)/$(A3700_UTILS_NAME) \ DDR_TOPOLOGY=$(DDR_TOPOLOGY) \ CLOCKSPRESET=$(CLOCKSPRESET) \ + A3700_UTILS_COMMIT_ID=$(A3700_UTILS_RELEASE) \ + MV_DDR_COMMIT_ID=$(MV_DDR_RELEASE) \ all \ mrvl_flash @@ -163,7 +165,9 @@ define Build/Prepare mkdir -p $(STAGING_DIR_IMAGE) $(TAR) -C $(STAGING_DIR_IMAGE) -xf $(DL_DIR)/$(A3700_UTILS_SOURCE) + $(call PatchDir/Default,$(STAGING_DIR_IMAGE)/$(A3700_UTILS_NAME),./patches-a3700-utils) $(TAR) -C $(STAGING_DIR_IMAGE) -xf $(DL_DIR)/$(MV_DDR_SOURCE) + $(call PatchDir/Default,$(STAGING_DIR_IMAGE)/$(MV_DDR_NAME),./patches-mv-ddr-marvell) $(TAR) -C $(STAGING_DIR_IMAGE) -xf $(DL_DIR)/$(LINARO_SOURCE) endef -- cgit v1.2.3