1
0
mirror of https://git.yoctoproject.org/meta-arm synced 2026-05-08 17:19:39 +00:00

arm/optee: Update to 3.18

Update all of the 3.17 recipes to 3.18 and remove the already upstreamed
patch.  optee-os was already at 3.18.  So, we only need to remove the
3.17 recipe.

Signed-off-by: Jon Mason <jon.mason@arm.com>
This commit is contained in:
Jon Mason
2022-08-15 09:39:48 -04:00
parent 8058beeec1
commit ba502ba11e
7 changed files with 6 additions and 57 deletions
@@ -12,7 +12,7 @@ inherit python3native
require optee.inc
SRC_URI = "git://github.com/linaro-swg/optee_examples.git;branch=master;protocol=https \
file://0001-Makefile-Fix-non-portable-sh-check-for-plugins.patch"
"
EXTRA_OEMAKE += "TA_DEV_KIT_DIR=${TA_DEV_KIT_DIR} \
HOST_CROSS_COMPILE=${HOST_PREFIX} \
@@ -1,46 +0,0 @@
From 11610debf750f15c7a104db7315dcd7d69e282a8 Mon Sep 17 00:00:00 2001
From: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
Date: Sat, 26 Feb 2022 01:52:26 +0000
Subject: [PATCH] Makefile: Fix non-portable sh check for plugins
Upstream-Status: Pending
We previously held a patch that used "=" for comparison, but when
that patch got upstreamed it was changed to "==" which is non-portable,
resulting in an error:
/bin/sh: 6: [: acipher: unexpected operator
/bin/sh: 6: [: plugins: unexpected operator
/bin/sh: 6: [: hello_world: unexpected operator
/bin/sh: 6: [: hotp: unexpected operator
/bin/sh: 6: [: aes: unexpected operator
/bin/sh: 6: [: random: unexpected operator
/bin/sh: 6: [: secure_storage: unexpected operator
if /bin/sh doesnt point to bash.
Which in turn causes our do_install task to fail since plugins arent
where we expect them to be.
Signed-off-by: Alejandro Enedino Hernandez Samaniego <alhe@linux.microsoft.com>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index b3f16aa..9359d95 100644
--- a/Makefile
+++ b/Makefile
@@ -31,7 +31,7 @@ prepare-for-rootfs: examples
cp -p $$example/host/optee_example_$$example $(OUTPUT_DIR)/ca/; \
fi; \
cp -pr $$example/ta/*.ta $(OUTPUT_DIR)/ta/; \
- if [ $$example == plugins ]; then \
+ if [ $$example = plugins ]; then \
cp -p plugins/syslog/*.plugin $(OUTPUT_DIR)/plugins/; \
fi; \
done
--
2.25.1
@@ -1,3 +0,0 @@
require optee-examples.inc
SRCREV = "65fc74309e12189ad5b6ce3ffec37c8011088a5a"
@@ -0,0 +1,3 @@
require optee-examples.inc
SRCREV = "f301ee9df2129c0db683e726c91dc2cefe4cdb65"
@@ -1,5 +1,5 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/optee-os:"
require optee-os_3.17.0.bb
require optee-os_3.18.0.bb
SUMMARY = "OP-TEE Trusted OS TA devkit"
DESCRIPTION = "OP-TEE TA devkit for build TAs"
@@ -1,5 +0,0 @@
require optee-os.inc
SRCREV = "f9e550142dd4b33ee1112f5dd64ffa94ba79cefa"
DEPENDS += "dtc-native"
@@ -3,7 +3,7 @@ require optee-test.inc
SRC_URI:append = " \
file://musl-workaround.patch \
"
SRCREV = "44a31d02379bd8e50762caa5e1592ad81e3339af"
SRCREV = "da5282a011b40621a2cf7a296c11a35c833ed91b"
EXTRA_OEMAKE:append:libc-musl = " OPTEE_OPENSSL_EXPORT=${STAGING_INCDIR}"
DEPENDS:append:libc-musl = " openssl"