diff mbox series

[1/1] arm/optee: support optee-os v3.18.0

Message ID 20220729162230.45859-2-vishnu.banavath@arm.com
State New
Headers show
Series arm/optee: support optee-os v3.18.0 | expand

Commit Message

vishnu.banavath@arm.com July 29, 2022, 4:22 p.m. UTC
From: Vishnu Banavath <vishnu.banavath@arm.com>

This change is to add yocot recipe to support optee-os
3.18.0 version.
Also, move the SRC_URI:append and DEPENDS to optee-os.inc
as these are common accross different optee versions.

Signed-off-by: Vishnu Banavath <vishnu.banavath@arm.com>
---
 meta-arm/recipes-security/optee/optee-os.inc       | 5 +++++
 meta-arm/recipes-security/optee/optee-os_3.14.0.bb | 4 ----
 meta-arm/recipes-security/optee/optee-os_3.17.0.bb | 4 ----
 meta-arm/recipes-security/optee/optee-os_3.18.0.bb | 5 +++++
 4 files changed, 10 insertions(+), 8 deletions(-)
 create mode 100644 meta-arm/recipes-security/optee/optee-os_3.18.0.bb
diff mbox series

Patch

diff --git a/meta-arm/recipes-security/optee/optee-os.inc b/meta-arm/recipes-security/optee/optee-os.inc
index 8942facd..aa15e478 100644
--- a/meta-arm/recipes-security/optee/optee-os.inc
+++ b/meta-arm/recipes-security/optee/optee-os.inc
@@ -16,6 +16,11 @@  DEPENDS:append:toolchain-clang = " compiler-rt"
 
 SRC_URI = "git://github.com/OP-TEE/optee_os.git;branch=master;protocol=https"
 
+SRC_URI:append = " \
+    file://0006-allow-setting-sysroot-for-libgcc-lookup.patch \
+    file://0007-allow-setting-sysroot-for-clang.patch \
+   "
+
 S = "${WORKDIR}/git"
 B = "${WORKDIR}/build"
 
diff --git a/meta-arm/recipes-security/optee/optee-os_3.14.0.bb b/meta-arm/recipes-security/optee/optee-os_3.14.0.bb
index 92e1f88e..83b89c4b 100644
--- a/meta-arm/recipes-security/optee/optee-os_3.14.0.bb
+++ b/meta-arm/recipes-security/optee/optee-os_3.14.0.bb
@@ -2,8 +2,4 @@  require optee-os.inc
 
 SRCREV = "d21befa5e53eae9db469eba1685f5aa5c6f92c2f"
 
-SRC_URI:append = " \
-    file://0006-allow-setting-sysroot-for-libgcc-lookup.patch \
-    file://0007-allow-setting-sysroot-for-clang.patch \
-"
 DEPENDS = "python3-pycryptodome-native python3-pyelftools-native"
diff --git a/meta-arm/recipes-security/optee/optee-os_3.17.0.bb b/meta-arm/recipes-security/optee/optee-os_3.17.0.bb
index b81c12f1..3e5e0a69 100644
--- a/meta-arm/recipes-security/optee/optee-os_3.17.0.bb
+++ b/meta-arm/recipes-security/optee/optee-os_3.17.0.bb
@@ -2,8 +2,4 @@  require optee-os.inc
 
 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"
diff --git a/meta-arm/recipes-security/optee/optee-os_3.18.0.bb b/meta-arm/recipes-security/optee/optee-os_3.18.0.bb
new file mode 100644
index 00000000..65d661f9
--- /dev/null
+++ b/meta-arm/recipes-security/optee/optee-os_3.18.0.bb
@@ -0,0 +1,5 @@ 
+require optee-os.inc
+
+DEPENDS += "dtc-native"
+
+SRCREV = "1ee647035939e073a2e8dddb727c0f019cc035f1"