diff mbox series

[master,18/53] optee-os-tadevkit: update to match optee-os

Message ID 20230320112452.2813505-19-denis@denix.org
State Accepted
Delegated to: Ryan Eatmon
Headers show
Series 2023.03 sync up with Dunfell | expand

Commit Message

Denys Dmytriyenko March 20, 2023, 11:24 a.m. UTC
From: Denys Dmytriyenko <denys@konsulko.com>

This installs shared OPTEE-OS APIs and needs to match in order for latest
client/test/examples to be able to build.

Signed-off-by: Denys Dmytriyenko <denys@konsulko.com>
---
 .../optee/optee-os-tadevkit_3.20.0.bb         | 24 +++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 meta-ti-bsp/recipes-security/optee/optee-os-tadevkit_3.20.0.bb
diff mbox series

Patch

diff --git a/meta-ti-bsp/recipes-security/optee/optee-os-tadevkit_3.20.0.bb b/meta-ti-bsp/recipes-security/optee/optee-os-tadevkit_3.20.0.bb
new file mode 100644
index 00000000..f2cc06d8
--- /dev/null
+++ b/meta-ti-bsp/recipes-security/optee/optee-os-tadevkit_3.20.0.bb
@@ -0,0 +1,24 @@ 
+require recipes-security/optee/optee-os_3.20.0.bb
+
+SUMMARY = "OP-TEE Trusted OS TA devkit"
+DESCRIPTION = "OP-TEE TA devkit for build TAs"
+HOMEPAGE = "https://www.op-tee.org/"
+
+DEPENDS += "python3-pycryptodome-native"
+
+do_install() {
+    #install TA devkit
+    install -d ${D}${includedir}/optee/export-user_ta/
+    for f in ${B}/export-ta_${OPTEE_ARCH}/* ; do
+        cp -aR $f ${D}${includedir}/optee/export-user_ta/
+    done
+}
+
+do_deploy() {
+	echo "Do not inherit do_deploy from optee-os."
+}
+
+FILES:${PN} = "${includedir}/optee/"
+
+# Build paths are currently embedded
+INSANE_SKIP:${PN}-dev += "buildpaths"