Skip to contentSkip to conversation

optee: instead of COMPATIBLE_MACHINE=null set EXCLUDE_FROM_WORLD=1

PATCH New Denys Dmytriyenko 1 participant 1 message Apr 14, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 optee: instead of COMPATIBLE_MACHINE=null set EXCLUDE_FROM_WORLD=1

From: Denys Dmytriyenko <[email protected]>

It's rather too heavy-handed to mark optee as incompatible with world and require BSPs to "register" or opt-in in order to use it.

If the intention is to skip it when building world, EXCLUDE_FROM_WORLD=1 is a better approach.

Similar to ATF/TF-A, U-boot or grub, optee should be easy to use from BSPs even though they require specific platform support or configuration.

---
 meta-arm/recipes-security/optee/optee.inc | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
meta-arm/recipes-security/optee/optee.inc +1 -2
index a12521d..177bcbd 100644
@@ -1,2 +1 @@
-COMPATIBLE_MACHINE = "null"
-# Please add supported machines below
+EXCLUDE_FROM_WORLD = "1"
Signature · 1 line
2.7.4