mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-06-08 03:40:52 +00:00
optee-os: Allow build to continue without TI_SECURE_DEV_PKG set
Signed-off-by: Andrew Davis <afd@ti.com> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
This commit is contained in:
committed by
Ryan Eatmon
parent
4e9b3f4744
commit
1d9d7c6e4e
@@ -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; \
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user