Skip to contentSkip to conversation

arm/optee-spdevkit: fix non-corstone1000 builds

PATCH New Ross Burton 1 participant 2 messages Nov 29, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 arm/optee-spdevkit: fix non-corstone1000 builds

This recipe was setting a default SRCREV which doesn't contain the Secure Partition devkit, as this is only in the psa-development branch on the trustedfirmware.org mirror which is set by the corstone1000 bbappend.

Use this branch/revision by default, and set the PV correctly: this branch is currently based on optee-os 3.10 not 3.14.

---
 meta-arm/recipes-security/optee/optee-spdevkit_git.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta-arm/recipes-security/optee/optee-spdevkit_git.bb +4 -1
index a9c696d3..f23cfa7a 100644
@@ -14,7 +14,10 @@ DEPENDS = "python3-pycryptodome-native python3-pycryptodomex-native python3-pyel
 
 DEPENDS:append:toolchain-clang = " compiler-rt"
 
-SRC_URI = "git://github.com/OP-TEE/optee_os.git;branch=master;protocol=https"
+# spdevkit isn't yet merged to master
+SRC_URI = "git://git.trustedfirmware.org/OP-TEE/optee_os.git;protocol=https;branch=psa-development"
+SRCREV = "f9de2c9520ed97b89760cc4c99424aae440b63f4"
+PV = "3.10+git${SRCPV}"
 
 S = "${WORKDIR}/git"
 B = "${WORKDIR}/build"
Signature · 1 line
2.25.1
#1 lore raw

PATCH 2/2 CI: build optee-spdevkit for qemuarm64

To ensure that optee-spdevkit works in all configurations, but it in the CI for qemuarm64 not just corstone1000.

---
 ci/qemuarm64-secureboot.yml | 2 ++
 1 file changed, 2 insertions(+)
ci/qemuarm64-secureboot.yml +2 -0
index 6ea2064f..31f195dd 100644
@@ -15,3 +15,5 @@ target:
   - perf
   - optee-examples
   - optee-test
+  - optee-spdevkit
+  - optee-os-tadevkit
\ No newline at end of file
Signature · 1 line
2.25.1