From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from fllnx209.ext.ti.com (fllnx209.ext.ti.com [198.47.19.16]) by arago-project.org (Postfix) with ESMTPS id 84D6252A4A for ; Wed, 15 Mar 2017 18:03:19 +0000 (UTC) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by fllnx209.ext.ti.com (8.15.1/8.15.1) with ESMTP id v2FI39XA016460 for ; Wed, 15 Mar 2017 13:03:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ti.com; s=ti-com-17Q1; t=1489600989; bh=3HdCLBcJAfdZ9Y2QbAGj4fdOJ3KWjFIM1SZHic0NYPU=; h=From:To:CC:Subject:Date:In-Reply-To:References; b=Ql3odfgzpLBZuEXwYK2IeU4TMipO5zRmqJDUacthJw0cXPWcWKY+vtZNyvQ9mkPAb 376Hd2t1hsvGyRFF8dCrOkPrCHICnUZc2pLrqDFKr4OattNEYFzhjBRFe3jPQ9XZMF cmEOWKlirWkwW4OGXkcl4ZYGJT4bgSAErwy1wsSY= Received: from DLEE71.ent.ti.com (dlee71.ent.ti.com [157.170.170.114]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id v2FI32SW031555 for ; Wed, 15 Mar 2017 13:03:04 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE71.ent.ti.com (157.170.170.114) with Microsoft SMTP Server id 14.3.294.0; Wed, 15 Mar 2017 13:03:02 -0500 Received: from udd0866934.am.dhcp.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id v2FI31l1004088; Wed, 15 Mar 2017 13:03:02 -0500 From: Jacob Stiffler To: Date: Wed, 15 Mar 2017 14:00:45 -0400 Message-ID: <1489600845-27595-2-git-send-email-j-stiffler@ti.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1489600845-27595-1-git-send-email-j-stiffler@ti.com> References: <1489600845-27595-1-git-send-email-j-stiffler@ti.com> MIME-Version: 1.0 Subject: [krogoth][PATCH 2/2] opencl-examples: add persistent examples for dra7xx X-BeenThere: meta-arago@arago-project.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Arago metadata layer for TI SDKs - OE-Core/Yocto compatible List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Mar 2017 18:03:19 -0000 Content-Type: text/plain Signed-off-by: Jacob Stiffler --- .../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