From: Chunrong Guo Date: Thu, 26 Apr 2018 03:26:06 +0000 (+0800) Subject: optee-os-qoriq : use objcopy to output tee.elf binary X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=8fb6b9e8627c0bd8dde0adeea0f91599d0779f99;p=meta-freescale.git optee-os-qoriq : use objcopy to output tee.elf binary Signed-off-by: Chunrong Guo Signed-off-by: Otavio Salvador (cherry picked from commit 36b68b363ad053564d319354a93facaf55298e3f) --- 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/