hmi demos have qt dependency, so install them through corresponding
machine feature condition.

Signed-off-by: Gowtham Tammana <[email protected]>
---
 .../packagegroup-arago-tisdk-hmi-sdk-host.bb  |  4 +++-
 .../packagegroup-arago-tisdk-hmi.bb           |  4 +++-
 .../packagegroup-arago-tisdk-matrix.bb        | 24 +++++++++----------
 3 files changed, 17 insertions(+), 15 deletions(-)

diff --git 
a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb
 
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb
index 1eb83d18..6c6ce6e0 100644
--- 
a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb
+++ 
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi-sdk-host.bb
@@ -4,7 +4,9 @@ PR = "r1"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-inherit packagegroup
+inherit packagegroup features_check
+
+REQUIRED_MACHINE_FEATURES = "gpu"
 
 HMI = ""
 
diff --git 
a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi.bb 
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi.bb
index 10f6d306..6958f08c 100644
--- 
a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi.bb
+++ 
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-hmi.bb
@@ -4,7 +4,9 @@ PR = "r0"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
-inherit packagegroup
+inherit packagegroup features_check
+
+REQUIRED_MACHINE_FEATURES = "gpu"
 
 HMI = " \
 "
diff --git 
a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-matrix.bb
 
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-matrix.bb
index 74b49898..4675cb80 100644
--- 
a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-matrix.bb
+++ 
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-matrix.bb
@@ -37,20 +37,31 @@ MATRIX_QT_APPS = " \
 
 MATRIX_QT_APPS_append_omap-a15 = " \
     matrix-analytics-pdm-anomaly-detection \
+    matrix-hmi-demo-evse            \
+    matrix-hmi-demo-mmwavegesture   \
 "
 
 MATRIX_QT_APPS_append_am65xx = " \
     matrix-analytics-pdm-anomaly-detection \
+                                    \
+    matrix-hmi-demo-evse            \
+    matrix-hmi-demo-mmwavegesture   \
 "
 
 MATRIX_QT_APPS_append_ti33x = " \
     matrix-analytics-pdm-anomaly-detection \
+    matrix-hmi-demo-evse            \
+    matrix-hmi-demo-protection-relays \
+    matrix-hmi-demo-mmwavegesture   \
 "
 
 MATRIX_QT_APPS_append_ti43x = " \
     matrix-analytics-pdm-anomaly-detection \
     matrix-gui-apps-dual-camera     \
     matrix-gui-apps-image-gallery   \
+                                    \
+    matrix-hmi-demo-evse            \
+    matrix-hmi-demo-mmwavegesture   \
 "
 
 MATRIX_TOUCH_APPS = " \
@@ -109,10 +120,6 @@ MATRIX_APPS_append_ti33x = "        \
                                     \
     matrix-gui-ethernet-demos       \
                                     \
-    matrix-hmi-demo-evse            \
-    matrix-hmi-demo-protection-relays \
-    matrix-hmi-demo-mmwavegesture   \
-                                    \
     ${MATRIX_OPENCV_ARM_ONLY_APPS}  \
 "
 
@@ -128,10 +135,6 @@ MATRIX_APPS_append_ti43x = "        \
     matrix-gui-clocks               \
     matrix-gui-pm-demos-governor    \
                                     \
-                                    \
-    matrix-hmi-demo-evse            \
-    matrix-hmi-demo-mmwavegesture   \
-                                    \
     ${MATRIX_OPENCV_ARM_ONLY_APPS}  \
 "
 
@@ -139,8 +142,6 @@ MATRIX_APPS_append_omap-a15 = "     \
     matrix-multimedia-demo-aac      \
     matrix-multimedia-demo-audiocapture \
     matrix-multimedia-demo-h265dec  \
-    matrix-hmi-demo-evse            \
-    matrix-hmi-demo-mmwavegesture   \
                                     \
     
${@bb.utils.contains('MACHINE_FEATURES','mmip','matrix-multimedia-demo-ivahdh264dec','matrix-multimedia-demo-h264dec',d)}
 \
     
${@bb.utils.contains('MACHINE_FEATURES','mmip','matrix-multimedia-demo-ivahdh264enc','',d)}
 \
@@ -165,9 +166,6 @@ MATRIX_APPS_append_am65xx = "           \
     matrix-multimedia-demo-mpeg4aacdec \
     matrix-multimedia-demo-mpeg4dec \
                                     \
-    matrix-hmi-demo-evse            \
-    matrix-hmi-demo-mmwavegesture   \
-                                    \
     ${MATRIX_OPENCV_ARM_ONLY_APPS}  \
 "
 
-- 
2.31.1

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to