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 <arturo.buzarra@digi.com>
This commit is contained in:
Arturo Buzarra 2022-05-25 11:47:52 +02:00
parent 52fece587f
commit 1192a62d93
1 changed files with 3 additions and 0 deletions

View File

@ -52,6 +52,9 @@ IMAGE_FSTYPES += '${@bb.utils.contains("IMAGE_FEATURES", "read-only-rootfs", \
"tar.bz2 boot.ubifs recovery.ubifs squashfs", \ "tar.bz2 boot.ubifs recovery.ubifs squashfs", \
"tar.bz2 ubifs boot.ubifs recovery.ubifs", d)}' "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 # flashlayout
# ========================================================================= # =========================================================================