Skip to contentSkip to conversation

packagegroup-arago-base-tisdk: Fix issue with optee pkgs not being included

PATCH In review Yogesh Siraswar 2 participants 2 messages Feb 25, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 packagegroup-arago-base-tisdk: Fix issue with optee pkgs not being included

In core-sdk 7.1 meta-ti OPTEEMACHINE description was updated to use combined OPTEE_MACHINE and OPTEE_FLAVOR.

8ac0c757 conf/machine: pass OPTEEFLAVOR via OPTEEMACHINE as <mach>-<flavor>

This caused the OPTEEMACHINE check to fail that was used to add optee-client and optee-test. Fixing the issue by using OPTEEOUTPUTMACHINE since it still uses ti/k3 as parameter.

---
 .../packagegroups/packagegroup-arago-base-tisdk.bb            | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk.bb +2 -2
index e0d33bbb..551e0230 100644
@@ -1,6 +1,6 @@
 DESCRIPTION = "Additional packages beyond console packages shared by TI SDKs"
 LICENSE = "MIT"
-PR = "r22"
+PR = "r23"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
@@ -26,5 +26,5 @@ RDEPENDS_${PN} = "\
     nfs-utils-client \
     cifs-utils \
     phytool \
-    ${@bb.utils.contains_any('OPTEEMACHINE', 'ti k3', "${OPTEE_PKGS}", "", d)} \
+    ${@bb.utils.contains_any('OPTEEOUTPUTMACHINE', 'ti k3', "${OPTEE_PKGS}", "", d)} \
 "
Signature · 1 line
2.17.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 9 lines · Yogesh Siraswar via lists.yoctoproject.org

In core-sdk 7.1 meta-ti OPTEEMACHINE description was updated to use combined OPTEE_MACHINE and OPTEE_FLAVOR.

8ac0c757 conf/machine: pass OPTEEFLAVOR via OPTEEMACHINE as <mach>-<flavor>

This caused the OPTEEMACHINE check to fail that was used to add optee-client and optee-test. Fixing the issue by using OPTEEOUTPUTMACHINE since it still uses ti/k3 as parameter.

Good catch!

Quoted 1 line
Quoted 25 lines
---
 .../packagegroups/packagegroup-arago-base-tisdk.bb            | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-base-tisdk.bb +2 -2
index e0d33bbb..551e0230 100644
@@ -1,6 +1,6 @@
 DESCRIPTION = "Additional packages beyond console packages shared by TI SDKs"
 LICENSE = "MIT"
-PR = "r22"
+PR = "r23"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
@@ -26,5 +26,5 @@ RDEPENDS_${PN} = "\
     nfs-utils-client \
     cifs-utils \
     phytool \
-    ${@bb.utils.contains_any('OPTEEMACHINE', 'ti k3', "${OPTEE_PKGS}", "", d)} \
+    ${@bb.utils.contains_any('OPTEEOUTPUTMACHINE', 'ti k3', "${OPTEE_PKGS}", "", d)} \
 "
Signature · 1 line
2.17.1