Signed-off-by: Andrew Davis <[email protected]>
---
recipes-security/optee/optee-os_%.bbappend | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/recipes-security/optee/optee-os_%.bbappend
b/recipes-security/optee/optee-os_%.bbappend
index 7fe5f26e..5a25bd99 100644
--- a/recipes-security/optee/optee-os_%.bbappend
+++ b/recipes-security/optee/optee-os_%.bbappend
@@ -43,7 +43,12 @@ optee_sign_legacyhs() {
# Signing procedure for K3 HS devices
optee_sign_k3hs() {
( cd out/arm-plat-${OPTEEOUTPUTMACHINE}/core/; \
- ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh tee-pager_v2.bin
tee-pager.bin.signed; \
+ if [ -f ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ]; then \
+ ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh
tee-pager_v2.bin tee-pager.bin.signed; \
+ else \
+ echo "Warning: TI_SECURE_DEV_PKG not set, OP-TEE not signed."; \
+ cp tee-pager_v2.bin tee-pager.bin.signed; \
+ fi; \
mv tee-pager.bin.signed ${B}/bl32.bin; \
cp tee.elf ${B}/bl32.elf; \
)
--
2.36.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#14927):
https://lists.yoctoproject.org/g/meta-ti/message/14927
Mute This Topic: https://lists.yoctoproject.org/mt/92828308/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-ti/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-