nativesdk-packagegroup-sdk-host: fix SDK build for ccmp15

Building a toolchain/SDK fails for ccmp15-dvk, because the NXP-based
trustfence tools (for example the cst) are not available. Fix the build
by filtering out those tools when the build platform is not NXP based.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2022-07-14 15:25:58 +02:00
parent f9a4103459
commit 17e12fe926
1 changed files with 4 additions and 5 deletions

View File

@ -1,12 +1,11 @@
# Copyright (C) 2016-2020 Digi International. # Copyright (C) 2016-2022 Digi International.
# Default TrustFence SDK tools IMX_TRUSTFENCE_SDK_TOOLS ?= " \
TRUSTFENCE_SDK_TOOLS ?= "\
nativesdk-trustfence-sign-tools \ nativesdk-trustfence-sign-tools \
nativesdk-trustfence-cst \ nativesdk-trustfence-cst \
${@oe.utils.conditional('TRUSTFENCE_SIGN_MODE', 'AHAB', 'nativesdk-imx-mkimage', '', d)} \
" "
RDEPENDS:${PN} += " \ RDEPENDS:${PN} += " \
${TRUSTFENCE_SDK_TOOLS} \ ${@oe.utils.conditional('DEY_BUILD_PLATFORM', 'NXP', '${IMX_TRUSTFENCE_SDK_TOOLS}', '', d)} \
${@oe.utils.conditional('TRUSTFENCE_SIGN_MODE', 'AHAB', 'nativesdk-imx-mkimage', '', d)} \
" "