diff options
Diffstat (limited to 'recipes-security')
-rw-r--r-- | recipes-security/optee/optee-os_%.bbappend | 7 |
1 files changed, 6 insertions, 1 deletions
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() { | |||
43 | # Signing procedure for K3 HS devices | 43 | # Signing procedure for K3 HS devices |
44 | optee_sign_k3hs() { | 44 | optee_sign_k3hs() { |
45 | ( cd out/arm-plat-${OPTEEOUTPUTMACHINE}/core/; \ | 45 | ( cd out/arm-plat-${OPTEEOUTPUTMACHINE}/core/; \ |
46 | ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh tee-pager_v2.bin tee-pager.bin.signed; \ | 46 | if [ -f ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh ]; then \ |
47 | ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh tee-pager_v2.bin tee-pager.bin.signed; \ | ||
48 | else \ | ||
49 | echo "Warning: TI_SECURE_DEV_PKG not set, OP-TEE not signed."; \ | ||
50 | cp tee-pager_v2.bin tee-pager.bin.signed; \ | ||
51 | fi; \ | ||
47 | mv tee-pager.bin.signed ${B}/bl32.bin; \ | 52 | mv tee-pager.bin.signed ${B}/bl32.bin; \ |
48 | cp tee.elf ${B}/bl32.elf; \ | 53 | cp tee.elf ${B}/bl32.elf; \ |
49 | ) | 54 | ) |