* Use opencl-runtime package to bring in necessary dependencies to use
  OpenCL with run-time kernel compilation.
* The base opencl package will only pull dependencies necessary for
  running pre-built kernels.

Signed-off-by: Jacob Stiffler <j-stiff...@ti.com>
---
 meta-arago-extras/recipes-ti/ocl/opencl_git.bb | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/meta-arago-extras/recipes-ti/ocl/opencl_git.bb 
b/meta-arago-extras/recipes-ti/ocl/opencl_git.bb
index 69f9330..7128c74 100644
--- a/meta-arago-extras/recipes-ti/ocl/opencl_git.bb
+++ b/meta-arago-extras/recipes-ti/ocl/opencl_git.bb
@@ -13,8 +13,13 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 PACKAGES =+ "${PN}-runtime"
 
+MONITORS                      = " opencl-monitor"
+MONITORS_append_am57xx-evm    = " opencl-monitor-ipu"
+MONITORS_append_am57xx-hs-evm = " opencl-monitor-ipu"
+MONITORS_append_dra7xx        = " opencl-monitor-ipu"
+
 DEPENDS = " ocl-gl-headers \
-            opencl-monitor \
+            ${MONITORS} \
             cmake-native \
             cmem \
             ti-llvm3.6 \
@@ -35,14 +40,9 @@ DEPENDS_append_dra7xx   = " ti-ipc virtual/kernel"
 DEPENDS_append_keystone = " mpm-transport multiprocmgr"
 DEPENDS_remove_k2g = " libulm"
 
-MONITORS                      = " opencl-monitor"
-MONITORS_append_am57xx-evm    = " opencl-monitor-ipu"
-MONITORS_append_am57xx-hs-evm = " opencl-monitor-ipu"
-MONITORS_append_dra7xx        = " opencl-monitor-ipu"
-
-RDEPENDS_${PN} += " bash"
-RDEPENDS_${PN}-dev += " ocl-gl-headers-dev opencl-monitor"
-RDEPENDS_${PN}-runtime += " ${PN} ${MONITORS} clocl ti-cgt6x"
+RDEPENDS_${PN} += " bash ${MONITORS}"
+RDEPENDS_${PN}-dev += " ocl-gl-headers-dev"
+RDEPENDS_${PN}-runtime += " ${PN} clocl"
 
 ALLOW_EMPTY_${PN}-runtime = "1"
 
-- 
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