Skip to contentSkip to conversation

optee-os: also install and deploy ELF version

PATCH New Denys Dmytriyenko 1 participant 1 message Jun 26, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 optee-os: also install and deploy ELF version

---
 meta-arago-distro/recipes-security/optee/optee-os_git.bbappend | 3 +++
 1 file changed, 3 insertions(+)
meta-arago-distro/recipes-security/optee/optee-os_git.bbappend +3 -0
index c85f413..cf643b0 100644
@@ -58,6 +58,7 @@ do_compile_aarch64() {
     oe_runmake all PLATFORM=${OPTEEMACHINE} PLATFORM_FLAVOR=${OPTEEFLAVOR}
     ( cd out/arm-plat-${OPTEEOUTPUTMACHINE}/core/; \
         mv tee-pager.bin bl32.bin; \
+        mv tee.elf bl32.elf; \
     )
 }
 
@@ -66,6 +67,7 @@ do_install() {
     install -d ${D}/boot
     install -m 644 ${B}/out/arm-plat-${OPTEEOUTPUTMACHINE}/core/*.optee ${D}/boot || true
     install -m 644 ${B}/out/arm-plat-${OPTEEOUTPUTMACHINE}/core/bl32.bin ${D}/boot || true
+    install -m 644 ${B}/out/arm-plat-${OPTEEOUTPUTMACHINE}/core/bl32.elf ${D}/boot || true
 
     #install TA devkit
     install -d ${D}/usr/include/optee/export-user_ta/
@@ -78,6 +80,7 @@ do_deploy() {
     install -d ${DEPLOYDIR}
     install -m 644 ${B}/out/arm-plat-${OPTEEOUTPUTMACHINE}/core/*.optee ${DEPLOYDIR} || true
     install -m 644 ${B}/out/arm-plat-${OPTEEOUTPUTMACHINE}/core/bl32.bin ${DEPLOYDIR} || true
+    install -m 644 ${B}/out/arm-plat-${OPTEEOUTPUTMACHINE}/core/bl32.elf ${DEPLOYDIR} || true
 }
 
 FILES_${PN} = "/boot"
Signature · 1 line
2.7.4