Skip to content

Commit

Permalink
security: optee: add recipe for OP-TEE v4.2.0
Browse files Browse the repository at this point in the history
Add recipe file for v4.2.0. Please note that this will not break
existing builds which use v4.1.0 because they should provide
.bbappends with COMPATIBLE_MACHINE set to corresponding machine
names. As there are no such .bbappends yet, Yocto will use previous
version because it is compatible with the corresponding machines.

This v4.2.0 recipes are required for RPI5 project, because RPI5 ports
depends on latest available OP-TEE release.

Signed-off-by: Volodymyr Babchuk <[email protected]>
Acked-by: Ruslan Shymkevych <[email protected]>
  • Loading branch information
lorc committed May 30, 2024
1 parent 7d21747 commit 09d7a4c
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 0 deletions.
10 changes: 10 additions & 0 deletions meta-xt-security/recipes-security/optee/optee-client_4.2.0.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require recipes-security/optee/optee-client.inc

SRCREV = "3eac340a781c00ccd61b151b0e9c22a8c6e9f9f0"

inherit pkgconfig
DEPENDS += "util-linux"
EXTRA_OEMAKE += "PKG_CONFIG=pkg-config"

# Prevent using newer version in incompatible products
COMPATIBLE_MACHINE ?= "invalid"
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Need to set PV manually or Bitbake tries to extract it
# from "optee-os-tadevkit.inc" filename
PV="4.2.0"

require optee-os-tadevkit.inc
3 changes: 3 additions & 0 deletions meta-xt-security/recipes-security/optee/optee-os_4.2.0.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
require recipes-security/optee/optee-os.inc

SRCREV = "12d7c4ee4642d2d761e39fbcf21a06fb77141dea"
3 changes: 3 additions & 0 deletions meta-xt-security/recipes-security/optee/optee-test_4.2.0.bb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
require recipes-security/optee/optee-test.inc

SRCREV = "526d5bac1b65f907f67c05cd07beca72fbab88dd"

0 comments on commit 09d7a4c

Please sign in to comment.