Signed-off-by: Denys Dmytriyenko <[email protected]>
---
 recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2.0.bb | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2.0.bb 
b/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2.0.bb
index 24aa3f4..64e4067 100644
--- a/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2.0.bb
+++ b/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_2.0.bb
@@ -46,6 +46,14 @@ do_compile() {
        oe_runmake all
 }
 
+do_compile_append_am65xx-hs-evm() {
+       export TI_SECURE_DEV_PKG=${TI_SECURE_DEV_PKG}
+       ( cd ${S}/build/${ATFPLATFORM}/${ATFBOARD}/release/; \
+               mv bl31.bin bl31.bin.unsigned; \
+               ${TI_SECURE_DEV_PKG}/scripts/secure-binary-image.sh 
bl31.bin.unsigned bl31.bin; \
+       )
+}
+
 do_install() {
        install -d ${D}/boot
        install -m 0644 ${S}/build/${ATFPLATFORM}/${ATFBOARD}/release/bl31.bin 
${D}/boot/
-- 
2.7.4

-- 
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

Reply via email to