diff options
| author | Sam Nelson <sam.nelson@ti.com> | 2015-04-13 23:52:53 +0000 |
|---|---|---|
| committer | Denys Dmytriyenko <denys@ti.com> | 2015-04-22 12:02:53 -0400 |
| commit | 5074fec6030cb359704abbcb6c0df422fb2eb126 (patch) | |
| tree | 29ae122255acd49a3d8a88d7f23055793b2c627d /recipes-ti | |
| parent | fe401c2bfcdaf6acd60aca6d64db6d8235498ab0 (diff) | |
| download | meta-ti-5074fec6030cb359704abbcb6c0df422fb2eb126.tar.gz | |
ipc-transport-qmss: Add recipe for ipc qmss transport and test code
- Provides ipc transport layer using qmss module
- Supports k2h, k2k, k2e, k2l devices
Signed-off-by: Sam Nelson <sam.nelson@ti.com>
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-ti')
| -rw-r--r-- | recipes-ti/ipc/ipc-transport-qmss-test_git.bb | 31 | ||||
| -rw-r--r-- | recipes-ti/ipc/ipc-transport-qmss.inc | 16 | ||||
| -rw-r--r-- | recipes-ti/ipc/ipc-transport-qmss_git.bb | 14 |
3 files changed, 61 insertions, 0 deletions
diff --git a/recipes-ti/ipc/ipc-transport-qmss-test_git.bb b/recipes-ti/ipc/ipc-transport-qmss-test_git.bb new file mode 100644 index 00000000..34d37086 --- /dev/null +++ b/recipes-ti/ipc/ipc-transport-qmss-test_git.bb | |||
| @@ -0,0 +1,31 @@ | |||
| 1 | include ipc-transport-qmss.inc | ||
| 2 | |||
| 3 | DEPENDS = "ipc-transport-qmss ti-ipc" | ||
| 4 | |||
| 5 | #FILES_${PN}-test = "${bindir}/multiProcessTest_*.out" | ||
| 6 | |||
| 7 | CHOICELIST = "yes no" | ||
| 8 | |||
| 9 | DEVICELIST = "k2h k2k k2e k2l" | ||
| 10 | |||
| 11 | do_compile () { | ||
| 12 | # Now build the test code | ||
| 13 | for device in ${DEVICELIST} | ||
| 14 | do | ||
| 15 | for choice in ${CHOICELIST} | ||
| 16 | do | ||
| 17 | oe_runmake tests \ | ||
| 18 | IPC_DEVKIT_INSTALL_PATH=${STAGING_INCDIR} \ | ||
| 19 | USEDYNAMIC_LIB="$choice" DEVICE="$device" | ||
| 20 | done | ||
| 21 | done | ||
| 22 | } | ||
| 23 | |||
| 24 | do_install () { | ||
| 25 | for device in ${DEVICELIST} | ||
| 26 | do | ||
| 27 | oe_runmake installbin \ | ||
| 28 | INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device" | ||
| 29 | done | ||
| 30 | |||
| 31 | } | ||
diff --git a/recipes-ti/ipc/ipc-transport-qmss.inc b/recipes-ti/ipc/ipc-transport-qmss.inc new file mode 100644 index 00000000..35c2111b --- /dev/null +++ b/recipes-ti/ipc/ipc-transport-qmss.inc | |||
| @@ -0,0 +1,16 @@ | |||
| 1 | DESCRIPTION = "TI QMSS-Based IPC MessageQ Transport" | ||
| 2 | LICENSE = "BSD-3-Clause" | ||
| 3 | |||
| 4 | LIC_FILES_CHKSUM = "file://COPYING.txt;md5=27bb0deb260c60120a8d7b91da7c3b02" | ||
| 5 | |||
| 6 | BRANCH="master" | ||
| 7 | SRC_URI = "git://git.ti.com/keystone-linux/ipc-transport.git;protocol=git;branch=${BRANCH}" | ||
| 8 | # Below commit ID corresponds to DEV.IPC-TRANSPORT.01.00.00.00 | ||
| 9 | SRCREV = "b3077467126c84b5d583dc29e13ab221064b687b" | ||
| 10 | PV = "01.00.00.00" | ||
| 11 | |||
| 12 | COMPATIBLE_MACHINE = "keystone" | ||
| 13 | |||
| 14 | S = "${WORKDIR}/git/linux/qmss" | ||
| 15 | |||
| 16 | EXTRA_OEMAKE += "PDK_INSTALL_PATH=${STAGING_INCDIR} TRANS_QMSS_SRC_DIR=${S}" | ||
diff --git a/recipes-ti/ipc/ipc-transport-qmss_git.bb b/recipes-ti/ipc/ipc-transport-qmss_git.bb new file mode 100644 index 00000000..cb77a12a --- /dev/null +++ b/recipes-ti/ipc/ipc-transport-qmss_git.bb | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | include ipc-transport-qmss.inc | ||
| 2 | |||
| 3 | DEPENDS = "ti-ipc mpm-transport" | ||
| 4 | |||
| 5 | do_compile () { | ||
| 6 | # Now build the transport | ||
| 7 | oe_runmake clean | ||
| 8 | oe_runmake lib | ||
| 9 | } | ||
| 10 | |||
| 11 | do_install () { | ||
| 12 | oe_runmake install INSTALL_INC_BASE_DIR=${D}${includedir} \ | ||
| 13 | INSTALL_LIB_BASE_DIR=${D}${libdir} | ||
| 14 | } | ||
