From 4d7d11cf240bfbe457165615bd2066118f614b98 Mon Sep 17 00:00:00 2001 From: Rouven Czerwinski Date: Fri, 30 Jun 2023 13:23:40 +0200 Subject: [PATCH] optee-os: deploy ta elf files The TA builds always create ELF files, add them to the deploy dir to ease debugging via the OP-TEE symbolize.py script. Signed-off-by: Rouven Czerwinski Signed-off-by: Jon Mason --- meta-arm/recipes-security/optee/optee-os.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta-arm/recipes-security/optee/optee-os.inc b/meta-arm/recipes-security/optee/optee-os.inc index 6c5f24f6..2e3403da 100644 --- a/meta-arm/recipes-security/optee/optee-os.inc +++ b/meta-arm/recipes-security/optee/optee-os.inc @@ -67,6 +67,9 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" do_deploy() { install -d ${DEPLOYDIR}/${MLPREFIX}optee install -m 644 ${D}${nonarch_base_libdir}/firmware/* ${DEPLOYDIR}/${MLPREFIX}optee + + install -d ${DEPLOYDIR}/${MLPREFIX}optee/ta + install -m 644 ${B}/ta/*/*.elf ${DEPLOYDIR}/${MLPREFIX}optee/ta } addtask deploy before do_build after do_install