1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-06-04 14:10:01 +00:00

arm/optee: update to v3.17

Update the recipes to v3.17 and remove v3.16

Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Jon Mason
2022-06-14 16:13:22 -04:00
parent a355384290
commit 36b43bc327
9 changed files with 42 additions and 9 deletions
@@ -20,3 +20,6 @@ WKS_FILE_DEPENDS = "trusted-firmware-a"
IMAGE_BOOT_FILES = "${KERNEL_IMAGETYPE}"
MACHINE_FEATURES += "optee-ftpm"
# FIXME - CPUs 2-4 don't start in the newer OPTEE
PREFERRED_VERSION_optee-os ?= "3.14%"
@@ -1,3 +0,0 @@
require optee-client.inc
SRCREV = "06db73b3f3fdb8d23eceaedbc46c49c0b45fd1e2"
@@ -0,0 +1,3 @@
require optee-client.inc
SRCREV = "9a337049c52495e5e16b4a94decaa3e58fce793e"
@@ -1,10 +1,11 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/optee-os:"
require optee-os_3.16.0.bb
require optee-os_3.17.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
@@ -1,8 +1,9 @@
require optee-os.inc
SRCREV = "d0b742d1564834dac903f906168d7357063d5459"
SRCREV = "f9e550142dd4b33ee1112f5dd64ffa94ba79cefa"
SRC_URI:append = " \
file://0006-allow-setting-sysroot-for-libgcc-lookup.patch \
file://0007-allow-setting-sysroot-for-clang.patch \
"
"
DEPENDS += "dtc-native"
@@ -0,0 +1,24 @@
Hack to work around musl compile error:
In file included from optee-test/3.17.0-r0/recipe-sysroot/usr/include/sys/stat.h:23,
from optee-test/3.17.0-r0/git/host/xtest/regression_1000.c:25:
optee-test/3.17.0-r0/recipe-sysroot/usr/include/bits/stat.h:17:26: error: expected identifier or '(' before '[' token
17 | unsigned __unused[2];
| ^
stat.h is not needed, since it is not being used in this file. So removing it.
Upstream-Status: Pending [Not submitted to upstream yet]
Signed-off-by: Jon Mason <jon.mason@arm.com>
diff --git a/host/xtest/regression_1000.c b/host/xtest/regression_1000.c
index 4264884..7f1baca 100644
--- a/host/xtest/regression_1000.c
+++ b/host/xtest/regression_1000.c
@@ -22,7 +22,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <sys/stat.h>
#include <sys/types.h>
#include <ta_arm_bti.h>
#include <ta_concurrent.h>
@@ -1,3 +0,0 @@
require optee-test.inc
SRCREV = "1cf0e6d2bdd1145370033d4e182634458528579d"
@@ -0,0 +1,7 @@
require optee-test.inc
SRC_URI:append = " \
file://musl-workaround.patch \
"
SRCREV = "44a31d02379bd8e50762caa5e1592ad81e3339af"