Signed-off-by: Jacob Stiffler <[email protected]> --- meta-arago-extras/recipes-ti/ocl/opencl_git.bb | 55 ++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) create mode 100644 meta-arago-extras/recipes-ti/ocl/opencl_git.bb
diff --git a/meta-arago-extras/recipes-ti/ocl/opencl_git.bb b/meta-arago-extras/recipes-ti/ocl/opencl_git.bb new file mode 100644 index 0000000..983e0d4 --- /dev/null +++ b/meta-arago-extras/recipes-ti/ocl/opencl_git.bb @@ -0,0 +1,55 @@ +DESCRIPTION = "TI OpenCL" +HOMEPAGE = "https://gitorious.design.ti.com/ocl" +LICENSE = "BSD" + +include ocl.inc + +PR = "${INC_PR}.0" + +inherit cmake + +COMPATIBLE_MACHINE = "dra7xx|k2hk-evm" +PACKAGE_ARCH = "${MACHINE_ARCH}" + +PACKAGES += " ${PN}-runtime" + +DEPENDS = " ocl-gl-headers \ + opencl-monitor \ + cmake-native \ + cmem \ + ti-llvm3.3 \ + ti-llvm3.3-native \ + binutils \ + sqlite3 \ + libffi \ + boost \ + boost-native \ + libloki \ + pkgconfig-native \ + libulm \ +" + +DEPENDS_append_dra7xx += "ti-ipc virtual/kernel" +DEPENDS_append_k2hk-evm += " mpm-transport multiprocmgr" + +RDEPENDS_${PN}-dev += " ocl-gl-headers-dev opencl-monitor" +RDEPENDS_${PN}-runtime += " ${PN} opencl-monitor clocl ti-cgt6x" + +ALLOW_EMPTY_${PN}-runtime = "1" + + +S = "${WORKDIR}/git/host" + +export WANT_LLVM_RELEASE = "3.3-ti" + +OCL_BUILD_TARGET_dra7xx = "ARM_AM57" +OCL_BUILD_TARGET_k2hk-evm = "ARM_K2H" + +EXTRA_OECMAKE += " -DBUILD_TARGET=${OCL_BUILD_TARGET} -DBUILD_OUTPUT=lib -DENABLE_ULM=1" + +EXTRA_OEMAKE += "KERNEL_INSTALL_DIR=${STAGING_KERNEL_DIR} LINUX_DEVKIT_ROOT=${STAGING_DIR_HOST}" +export KERNEL_INSTALL_DIR = "${STAGING_KERNEL_DIR}" + +FILES_${PN} += " \ + ${datadir}/ti/opencl/* \ +" -- 1.9.1 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
