packagegroup-arago-base-tisdk: Fix issue with optee pkgs not being included
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
@@ -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
Quoted 9 lines · Yogesh Siraswar via lists.yoctoproject.org
In core-sdk 7.1 meta-ti OPTEEMACHINE description was updated to use combined
OPTEE_MACHINEandOPTEE_FLAVOR.
8ac0c757conf/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
Signed-off-by Yogesh Siraswar <[email protected]>
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@@ -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