[meta-rockchip,1/6] optee: condition for "optee" DISTRO_FEATURE

Submitted by yann.dirson@blade-group.com on April 13, 2021, 3:43 p.m. | Patch ID: 179615


Message ID 20210413154316.3666881-2-yann@blade-group.com
State New
Headers show

Commit Message

yann.dirson@blade-group.com April 13, 2021, 3:43 p.m.
From: Yann Dirson <yann@blade-group.com>

This effectively sets up a single switch to activate OP-TEE support.
Disabling optee-* recipes when the feature is not set is not the
primary goal, though it can occasionally be handy to catch
dependencies pulling them without using the new DISTRO_FEATURE, which
provides a safeguard to ensure downstream recipes in need of upgrade
will fail early.

The main value for this flag is for dependent recipes to know when to
activate the OP-TEE support, rather than having to control each of
them separately:

- u-boot
- trusted-firmware-a
- kernel

Signed-off-by: Yann Dirson <yann@blade-group.com>
 recipes-security/optee/optee%.bbappend | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 recipes-security/optee/optee%.bbappend

Patch hide | download patch | download mbox

diff --git a/recipes-security/optee/optee%.bbappend b/recipes-security/optee/optee%.bbappend
new file mode 100644
index 0000000..2a8722a
--- /dev/null
+++ b/recipes-security/optee/optee%.bbappend
@@ -0,0 +1,2 @@ 
+inherit features_check