All of lore.kernel.org
 help / color / mirror / Atom feed
From: Siddharth Heroor <heroor@gmail.com>
To: openembedded-devel@lists.openembedded.org
Cc: Siddharth Heroor <heroor@ti.com>
Subject: [PATCHv3 3/5] ti-syslink: Add include file for Syslink Libraries.
Date: Sat,  9 Apr 2011 08:56:58 +0530	[thread overview]
Message-ID: <1302319620-18223-3-git-send-email-heroor@gmail.com> (raw)
In-Reply-To: <1302319620-18223-1-git-send-email-heroor@gmail.com>

From: Siddharth Heroor <heroor@ti.com>

* Add Syslink libraries for TI816x and TI814x device families.
* Build and stage both Linux and DSP side library files.

Signed-off-by: Siddharth Heroor <heroor@ti.com>
---
 recipes/ti/ti-syslink-libs.inc |   45 ++++++++++++++++++++++++++++++++++++++++
 1 files changed, 45 insertions(+), 0 deletions(-)
 create mode 100644 recipes/ti/ti-syslink-libs.inc

diff --git a/recipes/ti/ti-syslink-libs.inc b/recipes/ti/ti-syslink-libs.inc
new file mode 100644
index 0000000..fff36b6
--- /dev/null
+++ b/recipes/ti/ti-syslink-libs.inc
@@ -0,0 +1,45 @@
+DESCRIPTION = "SYSLINK Inter-Processor Communications (IPC) libraries for TI ARM/DSP processors"
+HOMEPAGE = "http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/syslink/index.html"
+SECTION = "devel"
+LICENSE = "BSD"
+
+COMPATIBLE_MACHINE = "(ti816x|ti814x)"
+
+require ti-paths.inc
+require ti-staging.inc
+require ti-syslink-common.inc
+
+S = "${WORKDIR}/syslink_${PV}"
+
+SRC_URI = "http://software-dl.ti.com/dsps/dsps_public_sw/SysLink/${PV}/exports/syslink_${PV}.tar.gz;name=syslinktarball"
+
+DEPENDS = "ti-sysbios ti-xdctools ti-cgt6x ti-ipc"
+
+EXTRA_OEMAKE = "ARCH='${TARGET_ARCH}' \
+    CROSS_COMPILE='${TARGET_PREFIX}' \
+    SYSLINK_PLATFORM='${SYSLINKPLATFORM}' \
+    SYSLINK_VARIANT='${SYSLINKVARIANT}' \
+    SYSLINK_LOADER='${SYSLINKLOADER}' \
+    SYSLINK_PKGPATH='${IPC_INSTALL_DIR}/packages' \
+    KDIR='${STAGING_KERNEL_DIR}'"
+
+do_compilexdc() {
+    cd ${S}/ti/syslink 
+    ${XDC_INSTALL_DIR}/xdc .make -PR .
+    ${XDC_INSTALL_DIR}/xdc clean -PR .
+    ${XDC_INSTALL_DIR}/xdc .interfaces -PR .
+    ${XDC_INSTALL_DIR}/xdc -PR . 
+}
+
+addtask compilexdc after do_configure before do_compile
+
+do_compile() {
+    cd ${S}/ti/syslink/utils/hlos/usr/Linux
+    oe_runmake
+}
+
+do_install () {
+    # Install/Stage the Source Tree
+    install -d ${D}${SYSLINK_INSTALL_DIR_RECIPE}
+    cp -pPrf ${S}/* ${D}${SYSLINK_INSTALL_DIR_RECIPE}
+}
-- 
1.7.0.4




  parent reply	other threads:[~2011-04-09  3:29 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-09  3:26 [PATCHv3 1/5] ti-syslink: Add TI Syslink Common include file Siddharth Heroor
2011-04-09  3:26 ` [PATCHv3 2/5] ti-syslink: Add include file for Syslink Module Siddharth Heroor
2011-04-09  3:26 ` Siddharth Heroor [this message]
2011-04-09  3:26 ` [PATCHv3 4/5] ti-syslink-module: Add Syslink version 02.00.00.68 Beta1 Siddharth Heroor
2011-04-17 18:27   ` Denys Dmytriyenko
2011-04-17 18:32     ` [PATCHv4 " Denys Dmytriyenko
2011-04-18  3:01     ` [PATCHv3 " Siddharth Heroor
2011-04-18  3:15       ` Denys Dmytriyenko
2011-04-18  4:14         ` Siddharth Heroor
2011-04-09  3:27 ` [PATCHv3 5/5] ti-syslink-libs: " Siddharth Heroor
2011-04-16 21:34   ` Xianghua Xiao
2011-04-17  0:11     ` Denys Dmytriyenko
2011-04-17 18:33   ` [PATCHv4 " Denys Dmytriyenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1302319620-18223-3-git-send-email-heroor@gmail.com \
    --to=heroor@gmail.com \
    --cc=heroor@ti.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.