`pdm-anomaly-detection` needs qt which in turns is dependent on gpu machine feature. Add the corresponding feature check to capture dependencies correctly.
Signed-off-by: Gowtham Tammana <[email protected]> --- .../recipes-core/packagegroups/ti-demos.bb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/meta-arago-distro/recipes-core/packagegroups/ti-demos.bb b/meta-arago-distro/recipes-core/packagegroups/ti-demos.bb index 054c2f53..6141799f 100644 --- a/meta-arago-distro/recipes-core/packagegroups/ti-demos.bb +++ b/meta-arago-distro/recipes-core/packagegroups/ti-demos.bb @@ -5,11 +5,13 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" inherit packagegroup +PDM_ANOMALY_PKG = "${@bb.utils.contains('MACHINE_FEATURES', 'gpu', 'pdm-anomaly-detection', '', d)}" + PDM_ANOMALY = "" -PDM_ANOMALY_ti33x = "pdm-anomaly-detection" -PDM_ANOMALY_ti43x = "pdm-anomaly-detection" -PDM_ANOMALY_omap-a15 = "pdm-anomaly-detection" -PDM_ANOMALY_am65xx = "pdm-anomaly-detection" +PDM_ANOMALY_ti33x = "${PDM_ANOMALY_PKG}" +PDM_ANOMALY_ti43x = "${PDM_ANOMALY_PKG}" +PDM_ANOMALY_omap-a15 = "${PDM_ANOMALY_PKG}" +PDM_ANOMALY_am65xx = "${PDM_ANOMALY_PKG}" RDEPENDS_${PN} = "\ ${PDM_ANOMALY} \ -- 2.31.1 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
