trustfence: add dependency of sign tools for recipes requiring keys

dualboot and recovery recipes may require to use the keys so they must
depend on the recipe that installs the script that generates them.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
This commit is contained in:
Hector Palacios 2023-05-09 08:49:01 +02:00
parent f6738c3cb2
commit a7ce03f66c
2 changed files with 8 additions and 2 deletions

View File

@ -7,7 +7,10 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-only;md5=801f80980d171d
SOC_SIGN_DEPENDS = " \
${@oe.utils.conditional('DEY_SOC_VENDOR', 'NXP', 'trustfence-cst-native', '', d)} \
"
DEPENDS += "${@oe.utils.conditional('TRUSTFENCE_SIGN', '1', 'openssl-native ${SOC_SIGN_DEPENDS}', '', d)}"
DEPENDS += "${@oe.utils.conditional('TRUSTFENCE_SIGN', '1', \
'openssl-native ' \
'trustfence-sign-tools-native ' \
'${SOC_SIGN_DEPENDS}', '', d)}"
SRC_URI = " \
file://recovery-initramfs-init \

View File

@ -8,7 +8,10 @@ LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0-only;md5=801f80980d171d
SOC_SIGN_DEPENDS = " \
${@oe.utils.conditional('DEY_SOC_VENDOR', 'NXP', 'trustfence-cst-native', '', d)} \
"
DEPENDS += "${@oe.utils.conditional('TRUSTFENCE_SIGN', '1', 'openssl-native ${SOC_SIGN_DEPENDS}', '', d)}"
DEPENDS += "${@oe.utils.conditional('TRUSTFENCE_SIGN', '1', \
'openssl-native ' \
'trustfence-sign-tools-native ' \
'${SOC_SIGN_DEPENDS}', '', d)}"
SRC_URI = " \
file://dualboot-init \