From b0a140a35c62801c9d3c9b7b8a0a0fe9367319a6 Mon Sep 17 00:00:00 2001 From: Arturo Buzarra Date: Mon, 23 Mar 2026 09:36:49 +0100 Subject: [PATCH] stm-st-stm32mp: tf-m-stm32mp/m33fw-stm32mp2: Add custom sign-stm32mp bbclass to fix build issue This commit imports the Digi custom version of sign-stm32mp bbclass to ensure that the search_path() function does not raise a build exception if the signing tool or keys are not present in the PATH before starting the build process. In our case, we do not need to manually install the tools or generate the keys beforehand, as this is automatically handled by Yocto in our DEY distribution. https://onedigi.atlassian.net/browse/DEL-10022 Signed-off-by: Arturo Buzarra --- .../trusted-firmware-m/tf-m-stm32mp_2.1.bbappend | 6 ++++++ .../stm32mp2projects/m33fw-stm32mp2.bbappend | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 meta-digi-arm/dynamic-layers/stm-st-stm32mp/recipes-bsp/trusted-firmware-m/tf-m-stm32mp_2.1.bbappend create mode 100644 meta-digi-arm/dynamic-layers/stm-st-stm32mp/recipes-extended/stm32mp2projects/m33fw-stm32mp2.bbappend diff --git a/meta-digi-arm/dynamic-layers/stm-st-stm32mp/recipes-bsp/trusted-firmware-m/tf-m-stm32mp_2.1.bbappend b/meta-digi-arm/dynamic-layers/stm-st-stm32mp/recipes-bsp/trusted-firmware-m/tf-m-stm32mp_2.1.bbappend new file mode 100644 index 000000000..bdc2b1650 --- /dev/null +++ b/meta-digi-arm/dynamic-layers/stm-st-stm32mp/recipes-bsp/trusted-firmware-m/tf-m-stm32mp_2.1.bbappend @@ -0,0 +1,6 @@ +# +# Copyright (C) 2026, Digi International Inc. +# + +# Inherit custom DIGI sign class to skip signing tool and key parsing restrictions +inherit sign-stm32mp-digi diff --git a/meta-digi-arm/dynamic-layers/stm-st-stm32mp/recipes-extended/stm32mp2projects/m33fw-stm32mp2.bbappend b/meta-digi-arm/dynamic-layers/stm-st-stm32mp/recipes-extended/stm32mp2projects/m33fw-stm32mp2.bbappend new file mode 100644 index 000000000..bdc2b1650 --- /dev/null +++ b/meta-digi-arm/dynamic-layers/stm-st-stm32mp/recipes-extended/stm32mp2projects/m33fw-stm32mp2.bbappend @@ -0,0 +1,6 @@ +# +# Copyright (C) 2026, Digi International Inc. +# + +# Inherit custom DIGI sign class to skip signing tool and key parsing restrictions +inherit sign-stm32mp-digi