Module: meta-ti
Branch: master
Commit: ce24dff877407018ffeadc7d2538aa670bc8b688
URL:    
http://arago-project.org/git/meta-ti.git?a=commit;h=ce24dff877407018ffeadc7d2538aa670bc8b688

Author: Sam Nelson <[email protected]>
Date:   Thu Dec 18 21:54:17 2014 +0000

mpm-transport: Add new recipe for multiproc transport library and test code

- mpm-transport provide basic transport layer for moving data between different 
processing nodes
- Support communication with the process nodes using shared memory and 
hyperlink interface

Signed-off-by: Sam Nelson <[email protected]>
Signed-off-by: Denys Dmytriyenko <[email protected]>

---

 recipes-ti/mpm-transport/mpm-transport_git.bb |   37 +++++++++++++++++++++++++
 1 files changed, 37 insertions(+), 0 deletions(-)

diff --git a/recipes-ti/mpm-transport/mpm-transport_git.bb 
b/recipes-ti/mpm-transport/mpm-transport_git.bb
new file mode 100644
index 0000000..fe67195
--- /dev/null
+++ b/recipes-ti/mpm-transport/mpm-transport_git.bb
@@ -0,0 +1,37 @@
+DESCRIPTION = "Multiproc transport layer for KeyStone devices: Provide basic 
transport layer for moving data between different processing nodes"
+HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-linux/mpm-transport.git";
+LICENSE = "BSD-3-Clause & MIT"
+LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2c17cd1dc60dc06a4c4f2a2c45472a51"
+COMPATIBLE_MACHINE = "keystone"
+DEPENDS = "common-csl-ip hyplnk-lld edma3-lld mmap-lld"
+
+SRC_URI = 
"git://git.ti.com/keystone-linux/mpm-transport.git;protocol=git;branch=${BRANCH}"
+
+BRANCH = "master"
+# This commit corresponds to tag DEV.MPM-TRANSPORT-01.00.04.00E
+SRCREV = "56640c6296f9f4816140364b7620b1d1a483ac40"
+PV = "1.0.4.0"
+PR = "r0"
+
+S = "${WORKDIR}/git"
+
+PACKAGES =+ "${PN}-test"
+FILES_${PN}-test = "${bindir}/mpm_transport_test.out 
${bindir}/mpm_transport_hyplnk_loopback.out 
${bindir}/mpm_transport_hyplnk_remote.out 
${bindir}/mpm_transport_hyplnk_loopback_dma.out 
${bindir}/mpm_transport_hyplnk_loopback64.out"
+
+do_compile () {
+       cd ${S}
+       make PDK_INSTALL_PATH=${STAGING_INCDIR}
+}
+
+do_install() {
+       make installbin BASE_DIR=${S} INSTALL_BIN_BASE_DIR=${D}/${bindir}
+
+       install -d ${D}${includedir}/
+       install -c -m 755 ${S}/include/* ${D}${includedir}/
+
+       install -d ${D}${libdir}/
+       cp  -a ${S}/lib/* ${D}${libdir}/
+
+       install -d ${D}${sysconfdir}/mpm/
+       install -c -m 755 ${S}/scripts/mpm_config.json 
${D}${sysconfdir}/mpm/mpm_config.json
+}

-- 
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

Reply via email to