All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/3] optee-os: add optional optee-os-ta package
@ 2023-06-30 11:23 Rouven Czerwinski
  2023-06-30 11:23 ` [PATCH 2/3] optee-os: deploy ta elf files Rouven Czerwinski
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Rouven Czerwinski @ 2023-06-30 11:23 UTC (permalink / raw)
  To: meta-arm; +Cc: Rouven Czerwinski

The optee-os compilation provides not only the core files, TAs are also
usually build. Create a separate package which contains them, so they
can be installed.

Signed-off-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
---
 meta-arm/recipes-security/optee/optee-os.inc | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/meta-arm/recipes-security/optee/optee-os.inc b/meta-arm/recipes-security/optee/optee-os.inc
index bb6974b2..6c5f24f6 100644
--- a/meta-arm/recipes-security/optee/optee-os.inc
+++ b/meta-arm/recipes-security/optee/optee-os.inc
@@ -56,6 +56,10 @@ do_install() {
     #install core in firmware
     install -d ${D}${nonarch_base_libdir}/firmware/
     install -m 644 ${B}/core/*.bin ${B}/core/tee.elf ${D}${nonarch_base_libdir}/firmware/
+
+    #install tas in optee_armtz
+    install -d ${D}${nonarch_base_libdir}/optee_armtz/
+    install -m 444 ${B}/ta/*/*.ta ${D}${nonarch_base_libdir}/optee_armtz
 }
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -69,7 +73,10 @@ addtask deploy before do_build after do_install
 
 SYSROOT_DIRS += "${nonarch_base_libdir}/firmware"
 
+PACKAGES += "${PN}-ta"
 FILES:${PN} = "${nonarch_base_libdir}/firmware/"
+FILES:${PN}-ta = "${nonarch_base_libdir}/optee_armtz/*"
+
 
 # note: "textrel" is not triggered on all archs
 INSANE_SKIP:${PN} = "textrel"
-- 
2.39.2



^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-07-03 22:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-30 11:23 [PATCH 1/3] optee-os: add optional optee-os-ta package Rouven Czerwinski
2023-06-30 11:23 ` [PATCH 2/3] optee-os: deploy ta elf files Rouven Czerwinski
2023-06-30 11:23 ` [PATCH 3/3] optee-test: add TA elfs to deploydir Rouven Czerwinski
2023-07-03 22:23 ` [PATCH 1/3] optee-os: add optional optee-os-ta package Jon Mason

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.