Sam Nelson : ipc-transport-srio: Add recipe for ipc transport using srio interface
Module: meta-ti Branch: master Commit: b60c3babdaf0959cda2f2470e77342f43d1084c5 URL: http://arago-project.org/git/meta-ti.git?a=commit;h=b60c3babdaf0959cda2f2470e77342f43d1084c5
Author: Sam Nelson <[email protected]> Date: Mon Apr 13 23:57:48 2015 +0000
ipc-transport-srio: Add recipe for ipc transport using srio interface
- Adds ipc transport layer using srio interface
- Supports k2h & k2k devices
- test recipe provides test code using srio transport
Signed-off-by Sam Nelson <[email protected]>
Signed-off-by Denys Dmytriyenko <[email protected]>
---
recipes-ti/ipc/ipc-transport-srio-test_git.bb | 30 +++++++++++++++++++++++++ recipes-ti/ipc/ipc-transport-srio.inc | 16 +++++++++++++ recipes-ti/ipc/ipc-transport-srio_git.bb | 14 +++++++++++ 3 files changed, 60 insertions(+), 0 deletions(-)
recipes-ti/ipc/ipc-transport-srio-test_git.bb new file +30 -0
@@ -0,0 +1,30 @@ +include ipc-transport-srio.inc + +DEPENDS = "ipc-transport-srio ipc-transport-qmss ti-ipc" + +DEVICELIST = "k2h k2k" + +CHOICELIST = "yes no" + +do_compile () { +# Now build the test code + for device in ${DEVICELIST} + do + for choice in ${CHOICELIST} + do + oe_runmake tests \ + IPC_DEVKIT_INSTALL_PATH=${STAGING_INCDIR} \ + USEDYNAMIC_LIB="$choice" DEVICE="$device" + done + done +} + +do_install () { + + for device in ${DEVICELIST} + do + oe_runmake installbin \ + INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device" + done + +}
recipes-ti/ipc/ipc-transport-srio.inc new file +16 -0
@@ -0,0 +1,16 @@ +DESCRIPTION = "TI SRIO-Based IPC MessageQ Transport" +LICENSE = "BSD-3-Clause" + +LIC_FILES_CHKSUM = "file://COPYING.txt;md5=27bb0deb260c60120a8d7b91da7c3b02" + +BRANCH="master" +SRC_URI = "git://git.ti.com/keystone-linux/ipc-transport.git;protocol=git;branch=${BRANCH}" +# Below commit ID corresponds to DEV.IPC-TRANSPORT.01.00.00.00 +SRCREV = "b3077467126c84b5d583dc29e13ab221064b687b" +PV = "01.00.00.00" + +COMPATIBLE_MACHINE = "keystone" + +S = "${WORKDIR}/git/linux/srio" + +EXTRA_OEMAKE += "PDK_INSTALL_PATH=${STAGING_INCDIR} TRANS_SRIO_SRC_DIR=${S}"
recipes-ti/ipc/ipc-transport-srio_git.bb new file +14 -0
@@ -0,0 +1,14 @@ +include ipc-transport-srio.inc + +DEPENDS = "ti-ipc mpm-transport" + +do_compile () { +# Now build the transport + oe_runmake clean + oe_runmake lib +} + +do_install () { + oe_runmake install INSTALL_INC_BASE_DIR=${D}${includedir} \ + INSTALL_LIB_BASE_DIR=${D}${libdir} +}