nativesdk: add STM signtools to SDK

The appropriate way to add STM signtools to the SDK is via RDEPENDS on
nativesdk-packagegroup-sdk-host, not through the parent recipe of STM
signtools recipe itself.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://onedigi.atlassian.net/browse/DEL-8720
This commit is contained in:
Hector Palacios 2023-10-02 09:26:10 +02:00
parent 0d9b393afc
commit 6b55769447
2 changed files with 5 additions and 5 deletions

View File

@ -10,7 +10,12 @@ IMX_TRUSTFENCE_SDK_TOOLS ?= " \
${@oe.utils.conditional('TRUSTFENCE_SIGN_MODE', 'AHAB', 'nativesdk-imx-mkimage', '', d)} \ ${@oe.utils.conditional('TRUSTFENCE_SIGN_MODE', 'AHAB', 'nativesdk-imx-mkimage', '', d)} \
" "
STM_TRUSTFENCE_SDK_TOOLS ?= " \
nativesdk-trustfence-stm-signtools \
"
RDEPENDS:${PN} += " \ RDEPENDS:${PN} += " \
nativesdk-trustfence-sign-tools \ nativesdk-trustfence-sign-tools \
${@oe.utils.conditional('DEY_SOC_VENDOR', 'NXP', '${IMX_OPTEE_SDK_RDEPENDS} ${IMX_TRUSTFENCE_SDK_TOOLS}', '', d)} \ ${@oe.utils.conditional('DEY_SOC_VENDOR', 'NXP', '${IMX_OPTEE_SDK_RDEPENDS} ${IMX_TRUSTFENCE_SDK_TOOLS}', '', d)} \
${@oe.utils.conditional('DEY_SOC_VENDOR', 'STM', '${STM_TRUSTFENCE_SDK_TOOLS}', '', d)} \
" "

View File

@ -2,8 +2,3 @@
require trustfence-sign-tools.inc require trustfence-sign-tools.inc
inherit nativesdk inherit nativesdk
RDEPENDS:${PN} = " \
${@oe.utils.conditional('DEY_SOC_VENDOR', 'NXP', 'nativesdk-trustfence-cst', '', d)} \
${@oe.utils.conditional('DEY_SOC_VENDOR', 'STM', 'nativesdk-trustfence-stm-signtools', '', d)} \
"