From 3cb8dc3786039d7d2a143fdbf5c3b9249f5bbbf3 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Tue, 7 May 2024 19:38:25 +0200 Subject: [PATCH] include/trusted-firmware-a.mk: allow overriding package install template Useful for special targets (e.g. RAM-only images) Signed-off-by: Felix Fietkau --- include/trusted-firmware-a.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/trusted-firmware-a.mk b/include/trusted-firmware-a.mk index 0c0118e092b..e469dae9840 100644 --- a/include/trusted-firmware-a.mk +++ b/include/trusted-firmware-a.mk @@ -63,9 +63,11 @@ define Build/Trusted-Firmware-A/Target URL:=https://www.trustedfirmware.org/projects/tf-a/ endef - define Package/trusted-firmware-a-$(1)/install + ifndef Package/trusted-firmware-a-$(1)/install + define Package/trusted-firmware-a-$(1)/install $$(Package/trusted-firmware-a/install) - endef + endef + endif endef define Build/Configure/Trusted-Firmware-A