From 1015773388d7a9d73cd70358e633cb1e994ccb12 Mon Sep 17 00:00:00 2001 From: Arturo Buzarra Date: Fri, 20 Mar 2026 13:38:01 +0100 Subject: [PATCH] machine: ccmp2: fix SDK build issue with gcc-aarch64-none-elf toolchain Remove the TF-A specific toolchain from SDK generation to avoid build issues caused by unresolved runtime library dependencies in nativesdk-gcc-aarch64-none-elf, including libcrypt.so.1, libncursesw.so.6, libpython3.8.so.1.0, and libtinfo.so.6. https://onedigi.atlassian.net/browse/DEL-10022 Signed-off-by: Arturo Buzarra --- meta-digi-arm/conf/machine/include/ccmp2.inc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/meta-digi-arm/conf/machine/include/ccmp2.inc b/meta-digi-arm/conf/machine/include/ccmp2.inc index 3d5d89708..897799d17 100644 --- a/meta-digi-arm/conf/machine/include/ccmp2.inc +++ b/meta-digi-arm/conf/machine/include/ccmp2.inc @@ -131,5 +131,12 @@ ENABLE_FLASHLAYOUT_CONFIG = "0" # Remove custom kernel headers from toolchain ST_TOOLS_FOR_TARGET_SDK:remove = " kernel-headers " +# Remove toolchain for TF-A on aarch64 added by st-machine-common-stm32mp.inc +# because it throws a build issue. +ST_TOOLS_FOR_SDK:remove:aarch64 = " \ + nativesdk-gcc-aarch64-none-elf \ + nativesdk-gcc-aarch64-none-elf-staticdev \ +" + # Disable partitions configuration from ST layer ENABLE_PARTITIONS_IMAGE ??= "0"