mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-04-25 22:19:11 +00:00
- Adapts to API change in uio-module-drv Signed-off-by: Sam Nelson <sam.nelson@ti.com> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
51 lines
1.8 KiB
BlitzBasic
51 lines
1.8 KiB
BlitzBasic
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=122b7757f366f3f6fe11988715258fc9"
|
|
COMPATIBLE_MACHINE = "keystone"
|
|
|
|
DEPENDS = "common-csl-ip edma3-lld mmap-lld cmem rm-lld qmss-lld cppi-lld uio-module-drv syslog-ng"
|
|
DEPENDS_append_k2hk-evm = " hyplnk-lld srio-lld"
|
|
DEPENDS_append_k2e-evm = " hyplnk-lld"
|
|
|
|
RDEPENDS_${PN} = "syslog-ng"
|
|
|
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
|
|
|
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-02.00.01.02
|
|
SRCREV = "5c1f177b8d5802227dfe7e86fc026620e1e10189"
|
|
|
|
PV = "2.0.1.2"
|
|
PR = "r0"
|
|
|
|
EXTRA_OEMAKE = "PDK_INSTALL_PATH=${STAGING_INCDIR}"
|
|
EXTRA_OEMAKE_append_k2hk-evm += "HYPLNK_TRANSPORT=true SRIO_TRANSPORT=true"
|
|
EXTRA_OEMAKE_append_k2e-evm += "HYPLNK_TRANSPORT=true"
|
|
|
|
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 \
|
|
${bindir}/mpm_transport_qmss_arm_mt.out \
|
|
${bindir}/mpm_transport_srio_arm_mt.out"
|
|
|
|
do_install() {
|
|
oe_runmake installbin BASE_DIR=${S} INSTALL_BIN_BASE_DIR=${D}/${bindir}
|
|
|
|
install -d ${D}${includedir}/
|
|
install -c -m 644 ${S}/include/* ${D}${includedir}/
|
|
|
|
install -d ${D}${libdir}/
|
|
cp -a ${S}/lib/* ${D}${libdir}/
|
|
|
|
install -d ${D}${sysconfdir}/mpm/
|
|
install -c -m 644 ${S}/scripts/mpm_config.json ${D}${sysconfdir}/mpm/mpm_config.json
|
|
}
|