From 36b68b363ad053564d319354a93facaf55298e3f Mon Sep 17 00:00:00 2001 From: Chunrong Guo Date: Thu, 26 Apr 2018 11:26:06 +0800 Subject: [PATCH] optee-os-qoriq : use objcopy to output tee.elf binary Signed-off-by: Chunrong Guo Signed-off-by: Otavio Salvador --- recipes-security/optee/optee-os-qoriq_git.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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/ -- 2.40.1