From 1192a62d9382cc43c41cc141191cb7dbd11a3925 Mon Sep 17 00:00:00 2001 From: Arturo Buzarra Date: Wed, 25 May 2022 11:47:52 +0200 Subject: [PATCH] ccmp15-dvk: fix SDK build for ConnectCore MP15 platform By default, the STM layer includes several tools in the SDK, one of which is the gcc-arm-none-eabi toolchain. However, in the build process it throws the following unexpected error about an unsatisfied runtime dependency: Error: Problem: conflicting requests - nothing provides libpython2.7.so.1.0()(64bit) needed by nativesdk-gcc-arm-none-eabi-9-r0.1.x86_64_nativesdk Since this package works with python3, python2 was deprecated and this tool is only needed to build Cortex-M4 applications, this commit removes this package from the default SDK. Signed-off-by: Arturo Buzarra --- meta-digi-arm/conf/machine/ccmp15-dvk.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-digi-arm/conf/machine/ccmp15-dvk.conf b/meta-digi-arm/conf/machine/ccmp15-dvk.conf index 36cf7dde5..ad514fead 100644 --- a/meta-digi-arm/conf/machine/ccmp15-dvk.conf +++ b/meta-digi-arm/conf/machine/ccmp15-dvk.conf @@ -52,6 +52,9 @@ IMAGE_FSTYPES += '${@bb.utils.contains("IMAGE_FEATURES", "read-only-rootfs", \ "tar.bz2 boot.ubifs recovery.ubifs squashfs", \ "tar.bz2 ubifs boot.ubifs recovery.ubifs", d)}' +# For populate_sdk, gcc-arm-none-eabi_9 has a python2 dependency, so we remove it. +ST_TOOLS_FOR_SDK:remove = "nativesdk-gcc-arm-none-eabi" + # ========================================================================= # flashlayout # =========================================================================