aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-security
diff options
context:
space:
mode:
authorChunrong Guo <chunrong.guo@nxp.com>2018-04-26 11:26:06 +0800
committerOtavio Salvador <otavio@ossystems.com.br>2018-05-25 10:37:44 -0300
commit8fb6b9e8627c0bd8dde0adeea0f91599d0779f99 (patch)
tree4767550938334cad66b9ce556c0d326e558afd6a /recipes-security
parentd6f5d977a9d486ed8dbb62a29d3f5718dfd50961 (diff)
downloadmeta-freescale-8fb6b9e8627c0bd8dde0adeea0f91599d0779f99.tar.gz
meta-freescale-8fb6b9e8627c0bd8dde0adeea0f91599d0779f99.tar.bz2
meta-freescale-8fb6b9e8627c0bd8dde0adeea0f91599d0779f99.zip
optee-os-qoriq : use objcopy to output tee.elf binary
Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 36b68b363ad053564d319354a93facaf55298e3f)
Diffstat (limited to 'recipes-security')
-rw-r--r--recipes-security/optee/optee-os-qoriq_git.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes-security/optee/optee-os-qoriq_git.bb b/recipes-security/optee/optee-os-qoriq_git.bb
index fba81fb0..92c3d289 100644
--- a/recipes-security/optee/optee-os-qoriq_git.bb
+++ b/recipes-security/optee/optee-os-qoriq_git.bb
@@ -38,7 +38,8 @@ do_install() {
#install core on boot directory
install -d ${D}/lib/firmware/
- install -m 644 ${B}/out/arm-plat-ls/core/tee.elf ${D}/lib/firmware/tee_${MACHINE}.bin
+ ${OBJCOPY} -v -O binary ${B}/out/arm-plat-ls/core/tee.elf ${B}/out/arm-plat-ls/core/tee.bin
+ install -m 644 ${B}/out/arm-plat-ls/core/tee.bin ${D}/lib/firmware/tee_${MACHINE}.bin
#install TA devkit
install -d ${D}/usr/include/optee/export-user_ta/