From: Denys Dmytriyenko <[email protected]>

Signed-off-by: Denys Dmytriyenko <[email protected]>
---
 meta-arago-distro/recipes-core/images/arago-core-tisdk-bundle.inc       | 2 +-
 .../packagegroups/packagegroup-arago-toolchain-tisdk-target.bb          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-arago-distro/recipes-core/images/arago-core-tisdk-bundle.inc 
b/meta-arago-distro/recipes-core/images/arago-core-tisdk-bundle.inc
index ca3b694..52ca790 100644
--- a/meta-arago-distro/recipes-core/images/arago-core-tisdk-bundle.inc
+++ b/meta-arago-distro/recipes-core/images/arago-core-tisdk-bundle.inc
@@ -54,7 +54,7 @@ IMAGE_INSTALL_QT_omapl138 = ""
 
 IMAGE_INSTALL = "\
     packagegroup-arago-tisdk-addons-sdk-host \
-    
${@bb.utils.contains('MACHINE_FEATURES','dsp','packagegroup-arago-tisdk-opencl-sdk-host','',d)}
 \
+    
${@['','packagegroup-arago-tisdk-opencl-sdk-host'][oe.utils.all_distro_features(d,
 'opencl', True, False) and bb.utils.contains('MACHINE_FEATURES', 'dsp', True, 
False, d)]} \
     packagegroup-arago-tisdk-crypto-sdk-host \
     
${@bb.utils.contains('MACHINE_FEATURES','gpu','packagegroup-arago-tisdk-graphics-sdk-host','',d)}
 \
     packagegroup-arago-tisdk-matrix-sdk-host \
diff --git 
a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-toolchain-tisdk-target.bb
 
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-toolchain-tisdk-target.bb
index 81299f0..4866e42 100644
--- 
a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-toolchain-tisdk-target.bb
+++ 
b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-toolchain-tisdk-target.bb
@@ -32,6 +32,6 @@ RDEPENDS_${PN} = "\
     ${TISDK_TOOLCHAIN_BASE_TARGET} \
     ${TISDK_TOOLCHAIN_EXTRA_TARGET} \
     
${@bb.utils.contains('MACHINE_FEATURES','gpu','packagegroup-arago-tisdk-graphics-sdk-target','',d)}
 \
-    
${@bb.utils.contains('MACHINE_FEATURES','dsp','packagegroup-arago-tisdk-opencl-sdk-target','',d)}
 \
+    
${@['','packagegroup-arago-tisdk-opencl-sdk-target'][oe.utils.all_distro_features(d,
 'opencl', True, False) and bb.utils.contains('MACHINE_FEATURES', 'dsp', True, 
False, d)]} \
     packagegroup-arago-tisdk-addons-sdk-target \
 "
-- 
2.7.4

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

Reply via email to