diff options
| -rw-r--r-- | recipes-ti/mpm-transport/mpm-transport_git.bb | 30 |
1 files changed, 18 insertions, 12 deletions
diff --git a/recipes-ti/mpm-transport/mpm-transport_git.bb b/recipes-ti/mpm-transport/mpm-transport_git.bb index 752ada51..cc211ce3 100644 --- a/recipes-ti/mpm-transport/mpm-transport_git.bb +++ b/recipes-ti/mpm-transport/mpm-transport_git.bb | |||
| @@ -3,16 +3,27 @@ HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-linux/mpm-transport.git" | |||
| 3 | LICENSE = "BSD-3-Clause & MIT" | 3 | LICENSE = "BSD-3-Clause & MIT" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=122b7757f366f3f6fe11988715258fc9" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=122b7757f366f3f6fe11988715258fc9" |
| 5 | COMPATIBLE_MACHINE = "keystone" | 5 | COMPATIBLE_MACHINE = "keystone" |
| 6 | DEPENDS = "common-csl-ip hyplnk-lld edma3-lld mmap-lld cmem rm-lld qmss-lld cppi-lld srio-lld" | 6 | |
| 7 | DEPENDS = "common-csl-ip edma3-lld mmap-lld cmem rm-lld qmss-lld cppi-lld uio-module-drv syslog-ng" | ||
| 8 | DEPENDS_append_k2hk-evm += "hyplnk-lld srio-lld" | ||
| 9 | DEPENDS_append_k2e-evm += "hyplnk-lld" | ||
| 10 | |||
| 11 | RDEPENDS_${PN} = "syslog-ng" | ||
| 12 | |||
| 13 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
| 7 | 14 | ||
| 8 | SRC_URI = "git://git.ti.com/keystone-linux/mpm-transport.git;protocol=git;branch=${BRANCH}" | 15 | SRC_URI = "git://git.ti.com/keystone-linux/mpm-transport.git;protocol=git;branch=${BRANCH}" |
| 9 | 16 | ||
| 10 | BRANCH = "master" | 17 | BRANCH = "linux41" |
| 11 | # This commit corresponds to tag DEV.MPM-TRANSPORT-01.00.08.03 | 18 | # This commit corresponds to tag DEV.MPM-TRANSPORT-02.00.00.00_ENG |
| 12 | SRCREV = "f6c5426d68c2be832903b6d215370c94e134167f" | 19 | SRCREV = "892e93238b7f9f480ddceb7ade042026a4d178bd" |
| 13 | 20 | ||
| 14 | PV = "1.0.8.3" | 21 | PV = "2.0.0.0" |
| 15 | PR = "r1" | 22 | PR = "r0" |
| 23 | |||
| 24 | EXTRA_OEMAKE = "PDK_INSTALL_PATH=${STAGING_INCDIR}" | ||
| 25 | EXTRA_OEMAKE_append_k2hk-evm += "HYPLNK_TRANSPORT=true SRIO_TRANSPORT=true" | ||
| 26 | EXTRA_OEMAKE_append_k2e-evm += "HYPLNK_TRANSPORT=true" | ||
| 16 | 27 | ||
| 17 | S = "${WORKDIR}/git" | 28 | S = "${WORKDIR}/git" |
| 18 | 29 | ||
| @@ -25,13 +36,8 @@ FILES_${PN}-test = "${bindir}/mpm_transport_test.out \ | |||
| 25 | ${bindir}/mpm_transport_qmss_arm_mt.out \ | 36 | ${bindir}/mpm_transport_qmss_arm_mt.out \ |
| 26 | ${bindir}/mpm_transport_srio_arm_mt.out" | 37 | ${bindir}/mpm_transport_srio_arm_mt.out" |
| 27 | 38 | ||
| 28 | do_compile () { | ||
| 29 | cd ${S} | ||
| 30 | make PDK_INSTALL_PATH=${STAGING_INCDIR} | ||
| 31 | } | ||
| 32 | |||
| 33 | do_install() { | 39 | do_install() { |
| 34 | make installbin BASE_DIR=${S} INSTALL_BIN_BASE_DIR=${D}/${bindir} | 40 | oe_runmake installbin BASE_DIR=${S} INSTALL_BIN_BASE_DIR=${D}/${bindir} |
| 35 | 41 | ||
| 36 | install -d ${D}${includedir}/ | 42 | install -d ${D}${includedir}/ |
| 37 | install -c -m 755 ${S}/include/* ${D}${includedir}/ | 43 | install -c -m 755 ${S}/include/* ${D}${includedir}/ |
