From ff97a34b64c532db8525258b5dd3b3deda0faec0 Mon Sep 17 00:00:00 2001 From: Arturo Buzarra Date: Mon, 24 Mar 2025 13:28:02 +0100 Subject: [PATCH] ccmp25-dvk: add support to include Trustfence artifacts in ZIP installer This commit conditionally selects the appropriate boot artifacts to include in the ZIP installer, depending on whether Trustfence is enabled or not. https://onedigi.atlassian.net/browse/DEL-9442 Signed-off-by: Arturo Buzarra --- meta-digi-arm/conf/machine/ccmp25-dvk.conf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meta-digi-arm/conf/machine/ccmp25-dvk.conf b/meta-digi-arm/conf/machine/ccmp25-dvk.conf index be3b34b90..728e5f9e8 100644 --- a/meta-digi-arm/conf/machine/ccmp25-dvk.conf +++ b/meta-digi-arm/conf/machine/ccmp25-dvk.conf @@ -144,9 +144,11 @@ ST_USERFS = "0" # Boot artifacts to be copied from the deploy dir to the installer ZIP BOOTABLE_ARTIFACTS = " \ - tf-a-ccmp25-dvk-optee-emmc.stm32 \ + ${@oe.utils.ifelse(d.getVar('TRUSTFENCE_SIGN') == '1', 'tf-a-ccmp25-dvk-optee-emmc${SIGN_SUFFIX}.stm32', \ + 'tf-a-ccmp25-dvk-optee-emmc.stm32')} \ metadata-ccmp25-dvk.bin \ - fip-ccmp25-dvk-optee-emmc.bin \ + ${@oe.utils.ifelse(d.getVar('TRUSTFENCE_SIGN') == '1', 'fip-ccmp25-dvk-optee-emmc${SIGN_SUFFIX}.bin', \ + 'fip-ccmp25-dvk-optee-emmc.bin')} \ " # Per-machine DISTRO_FEATURES customization