[meta-ti] [PATCH 1/2] mpm-transport: Update to new version 2.0.0.0

Sam Nelson sam.nelson at ti.com
Wed Nov 25 14:07:22 PST 2015


- Updates to work with kernel version 4.1 and other uio driver changes
- Making the package machine specific and hence the dependencies
according to the platform is updated
- Add use of oe_runmake instead of direct call to make

Signed-off-by: Sam Nelson <sam.nelson at ti.com>
---
 recipes-ti/mpm-transport/mpm-transport_git.bb | 30 ++++++++++++++++-----------
 1 file 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 752ada5..cc211ce 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"
 LICENSE = "BSD-3-Clause & MIT"
 LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=122b7757f366f3f6fe11988715258fc9"
 COMPATIBLE_MACHINE = "keystone"
-DEPENDS = "common-csl-ip hyplnk-lld edma3-lld mmap-lld cmem rm-lld qmss-lld cppi-lld srio-lld"
+
+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-01.00.08.03
-SRCREV = "f6c5426d68c2be832903b6d215370c94e134167f"
+BRANCH = "linux41"
+# This commit corresponds to tag DEV.MPM-TRANSPORT-02.00.00.00_ENG
+SRCREV = "892e93238b7f9f480ddceb7ade042026a4d178bd"
 
-PV = "1.0.8.3"
-PR = "r1"
+PV = "2.0.0.0"
+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"
 
@@ -25,13 +36,8 @@ FILES_${PN}-test = "${bindir}/mpm_transport_test.out \
 					${bindir}/mpm_transport_qmss_arm_mt.out \
 					${bindir}/mpm_transport_srio_arm_mt.out"
 
-do_compile () {
-	cd ${S}
-	make PDK_INSTALL_PATH=${STAGING_INCDIR}
-}
-
 do_install() {
-	make installbin BASE_DIR=${S} INSTALL_BIN_BASE_DIR=${D}/${bindir}
+	oe_runmake installbin BASE_DIR=${S} INSTALL_BIN_BASE_DIR=${D}/${bindir}
 
 	install -d ${D}${includedir}/
 	install -c -m 755 ${S}/include/* ${D}${includedir}/
-- 
1.9.1



More information about the meta-ti mailing list