From: Denys Dmytriyenko <[email protected]>

Require opencl,openmp for clacc nativesdk tool.
Also switch distutils in devkit from Python2 to Python3.

Signed-off-by: Denys Dmytriyenko <[email protected]>
---
 .../nativesdk-packagegroup-arago-tisdk-host.bb             | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git 
a/meta-arago-extras/recipes-core/packagegroups/nativesdk-packagegroup-arago-tisdk-host.bb
 
b/meta-arago-extras/recipes-core/packagegroups/nativesdk-packagegroup-arago-tisdk-host.bb
index 314c025..d6a835d 100644
--- 
a/meta-arago-extras/recipes-core/packagegroups/nativesdk-packagegroup-arago-tisdk-host.bb
+++ 
b/meta-arago-extras/recipes-core/packagegroups/nativesdk-packagegroup-arago-tisdk-host.bb
@@ -6,22 +6,26 @@ inherit packagegroup nativesdk
 
 PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
 
+TIDL_TOOLS = " \
+    nativesdk-tidl-import \
+    nativesdk-tidl-viewer \
+    nativesdk-tidl-utils \
+"
+
 #    nativesdk-open62541-examples
 #    nativesdk-open62541-tests
 EXTRA_TI_TOOLS = " \
     nativesdk-ti-cgt6x \
     nativesdk-ti-cgt-pru \
     nativesdk-clocl \
-    nativesdk-clacc \
-    nativesdk-tidl-import \
-    nativesdk-tidl-viewer \
-    nativesdk-tidl-utils \
+    ${@oe.utils.all_distro_features(d, "opencl openmp", "nativesdk-clacc")} \
     nativesdk-gcc-arm-none-eabi \
+    ${@oe.utils.all_distro_features(d, "opencl opencv", "${TIDL_TOOLS}")} \
 "
 
 RDEPENDS_${PN} = "\
     nativesdk-packagegroup-sdk-host \
-    nativesdk-python-distutils \
+    nativesdk-python3-distutils \
     nativesdk-git \
     nativesdk-mtd-utils-ubifs \
     ${EXTRA_TI_TOOLS} \
-- 
2.7.4

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

Reply via email to