Signed-off-by: Jacob Stiffler <[email protected]> --- .../recipes-ti/ocl/opencl-examples_git.bb | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+)
diff --git a/meta-arago-extras/recipes-ti/ocl/opencl-examples_git.bb b/meta-arago-extras/recipes-ti/ocl/opencl-examples_git.bb index f01d5e1..2cd12dc 100644 --- a/meta-arago-extras/recipes-ti/ocl/opencl-examples_git.bb +++ b/meta-arago-extras/recipes-ti/ocl/opencl-examples_git.bb @@ -3,6 +3,7 @@ HOMEPAGE = "http://software-dl.ti.com/mctools/docs/opencl/intro.html" LICENSE = "BSD" include ocl.inc +require recipes-ti/includes/ti-paths.inc PR = "${INC_PR}.0" @@ -11,6 +12,10 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" DEPENDS = "opencl ti-cgt6x-native clocl-native" +OCL_PERSISTENT_DEPENDS = "ti-xdctools ti-ipc-rtos ti-sysbios" + +DEPENDS_append_dra7xx = " ${OCL_PERSISTENT_DEPENDS}" + RDEPENDS_${PN} += " opencl-runtime" RDEPENDS_${PN}-dev += " libgomp-dev" @@ -39,6 +44,17 @@ OCL_EXAMPLE_LIST = " buffer \ timeout \ " +OCL_PERSISTENT_EXAMPLE_LIST = " persistent_clock_concurrent \ + persistent_clock_spanning \ + persistent_common \ + persistent_kernel_timeout \ + persistent_messageq_concurrent \ + persistent_task_concurrent \ + persistent_task_spanning \ +" + +OCL_EXAMPLE_LIST_append_dra7xx = " ${OCL_PERSISTENT_EXAMPLE_LIST}" + python do_unpack_append() { import shutil @@ -57,6 +73,10 @@ EXTRA_OEMAKE = " TARGET_ROOTDIR=${STAGING_DIR_HOST} \ TI_OCL_CGT_INSTALL=${STAGING_DIR_NATIVE}/usr/share/ti/cgt-c6x \ " +export XDC_DIR = "${XDC_INSTALL_DIR}/packages" +export IPC_DIR = "${IPC_INSTALL_DIR}/packages" +export BIOS_DIR = "${SYSBIOS_INSTALL_DIR}/packages" + do_compile() { oe_runmake } -- 2.7.4 _______________________________________________ meta-arago mailing list [email protected] http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
