From: Denys Dmytriyenko <de...@ti.com>

Signed-off-by: Denys Dmytriyenko <de...@ti.com>
---
 .../recipes-core/packagegroups/packagegroup-arago-gst.bb              | 2 +-
 .../gst-plugins-ti/gstreamer1.0-plugins-dsp66_git.bb                  | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git 
a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst.bb 
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst.bb
index b2f117f..2679251 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-gst.bb
@@ -18,7 +18,7 @@ GSTREAMER_DEPS = " \
 "
 
 GSTREAMER_DSP = " \
-    ${@bb.utils.contains('MACHINE_FEATURES', 'dsp', 
'gstreamer1.0-plugins-dsp66', '', d)} \
+    ${@['','gstreamer1.0-plugins-dsp66'][oe.utils.all_distro_features(d, 
'opencl', True, False) and bb.utils.contains('MACHINE_FEATURES', 'dsp', True, 
False, d)]} \
 "
 
 GSTREAMER_DEPS_append_dra7xx = " \
diff --git 
a/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-dsp66_git.bb
 
b/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-dsp66_git.bb
index 6e28891..617fdc9 100644
--- 
a/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-dsp66_git.bb
+++ 
b/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-dsp66_git.bb
@@ -16,6 +16,10 @@ COMPATIBLE_MACHINE = "dra7xx|keystone"
 DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base opencl ti-cgt6x-native 
clocl-native imglib-c66x vlib-c66x gettext-native"
 
 inherit autotools-brokensep pkgconfig gettext
+inherit features_check
+
+REQUIRED_MACHINE_FEATURES = "dsp"
+REQUIRED_DISTRO_FEATURES = "opencl"
 
 PR = "r1"
 
-- 
2.7.4

_______________________________________________
meta-arago mailing list
meta-arago@arago-project.org
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to