[meta-ti] [RFC PATCH 4/6] opencl-monitor: OpenCL firmware which runs on the accelerators.
Jacob Stiffler
j-stiffler at ti.com
Thu Feb 26 05:34:09 PST 2015
Signed-off-by: Jacob Stiffler <j-stiffler at ti.com>
---
recipes-ti/ocl/opencl-monitor_git.bb | 41 ++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
create mode 100644 recipes-ti/ocl/opencl-monitor_git.bb
diff --git a/recipes-ti/ocl/opencl-monitor_git.bb b/recipes-ti/ocl/opencl-monitor_git.bb
new file mode 100644
index 0000000..54b3f45
--- /dev/null
+++ b/recipes-ti/ocl/opencl-monitor_git.bb
@@ -0,0 +1,41 @@
+DESCRIPTION = "TI OpenCL"
+HOMEPAGE = "https://gitorious.design.ti.com/ocl"
+LICENSE = "BSD"
+
+include ocl.inc
+
+inherit cmake
+
+COMPATIBLE_MACHINE = "dra7xx"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+SRC_URI_append = " \
+ ${SRC_URI_OPENCL} \
+ ${SRC_URI_MONITOR} \
+ ${SRC_URI_BUILTINS} \
+ ${SRC_URI_LIBM} \
+ ${SRC_URI_MONITOR_IMAGE} \
+ ${MONITOR_PATCHES} \
+ ${OPENCL_PATCHES} \
+ ${OPENGL_HEADERS} \
+"
+
+S = "${WORKDIR}/git/opencl_monitor"
+
+
+do_compile_append() {
+ cp -rv ${WORKDIR}/opencl_monitor-vayu-0.12.0/* ${S}/
+}
+
+do_install_append() {
+ cp -v ${D}${datadir}/ti/opencl/dsp0.out ${D}${datadir}/ti/opencl/dsp.out
+ cp -v ${D}${datadir}/ti/opencl/dsp0.syms ${D}${datadir}/ti/opencl/dsp.syms
+}
+
+FILES_${PN} += " \
+ ${datadir}/ti/opencl/* \
+ ${base_libdir}/firmware/* \
+"
+
+INSANE_SKIP_${PN} = "arch"
+
--
1.7.9.5
More information about the meta-ti
mailing list