Skip to contentSkip to conversation

mpm-transport: Update to new version 2.0.4.0

PATCH In review Sam Nelson 2 participants 3 messages Apr 24, 2017

lore
Share & tools
lore

Sam Nelson

author
#0 lore raw

PATCH 1/1 mpm-transport: Update to new version 2.0.4.0

- Add INSANE_SKIP ldflags to avoid warning
- Add no-preserve-ownership to avoid host contamination warning

---
 recipes-ti/mpm-transport/mpm-transport_git.bb | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
recipes-ti/mpm-transport/mpm-transport_git.bb +5 -4
index 0690807..bf02c0b 100644
@@ -15,15 +15,16 @@ 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.03.00
-SRCREV = "ba53217c5db1a6f9d21a0c8f50e9e30a6efa8be8"
+# This commit corresponds to tag DEV.MPM-TRANSPORT-02.00.04.00
+SRCREV = "e0e44fe55bef7ddf89f7ff3574f07fa906e72a37"
 
-PV = "2.0.3.0"
+PV = "2.0.4.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 += "HYPLNK_TRANSPORT=true"
+INSANE_SKIP_${PN} += "ldflags"
 
 S = "${WORKDIR}/git"
 
@@ -43,7 +44,7 @@ do_install() {
 	install -c -m 644 ${S}/include/* ${D}${includedir}/
 
 	install -d ${D}${libdir}/
-	cp  -a ${S}/lib/* ${D}${libdir}/
+	cp  -a --preserve=mode,timestamps --no-preserve=ownership ${S}/lib/* ${D}${libdir}/
 
 	install -d ${D}${sysconfdir}/mpm/
 	install -c -m 644 ${S}/scripts/mpm_config.json ${D}${sysconfdir}/mpm/mpm_config.json
Signature · 1 line
1.9.1
#1 lore raw

What's the difference from this:

http://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/commit/?id=c734db427cdb3a38614f5e132269a599fab9cdb1

Quoted 49 lines · Sam Nelson

- Add INSANE_SKIP ldflags to avoid warning
- Add no-preserve-ownership to avoid host contamination warning

---
 recipes-ti/mpm-transport/mpm-transport_git.bb | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
recipes-ti/mpm-transport/mpm-transport_git.bb +5 -4
index 0690807..bf02c0b 100644
@@ -15,15 +15,16 @@ 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.03.00
-SRCREV = "ba53217c5db1a6f9d21a0c8f50e9e30a6efa8be8"
+# This commit corresponds to tag DEV.MPM-TRANSPORT-02.00.04.00
+SRCREV = "e0e44fe55bef7ddf89f7ff3574f07fa906e72a37"
 
-PV = "2.0.3.0"
+PV = "2.0.4.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 += "HYPLNK_TRANSPORT=true"
+INSANE_SKIP_${PN} += "ldflags"
 
 S = "${WORKDIR}/git"
 
@@ -43,7 +44,7 @@ do_install() {
 	install -c -m 644 ${S}/include/* ${D}${includedir}/
 
 	install -d ${D}${libdir}/
-	cp  -a ${S}/lib/* ${D}${libdir}/
+	cp  -a --preserve=mode,timestamps --no-preserve=ownership ${S}/lib/* ${D}${libdir}/
 
 	install -d ${D}${sysconfdir}/mpm/
 	install -c -m 644 ${S}/scripts/mpm_config.json ${D}${sysconfdir}/mpm/mpm_config.json
Signature · 7 lines
1.9.1

-- 
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
#2 lore raw

Same as previous one. I missed putting morty/master.

Quoted 71 lines

-----Original Message-----
From: Dmytriyenko, Denys
Sent: Monday, April 24, 2017 2:00 PM
To: Nelson, Sam
Cc: [email protected]
Subject: Re: [meta-ti] [morty/master][PATCH] mpm-transport: Update to new version 2.0.4.0

What's the difference from this:

http://git.yoctoproject.org/cgit/cgit.cgi/meta-
ti/commit/?id=c734db427cdb3a38614f5e132269a599fab9cdb1

Quoted 14 lines · Sam Nelson

- Add INSANE_SKIP ldflags to avoid warning
- Add no-preserve-ownership to avoid host contamination warning

---
 recipes-ti/mpm-transport/mpm-transport_git.bb | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
recipes-ti/mpm-transport/mpm-transport_git.bb +0 -0
index 0690807..bf02c0b 100644

recipes-ti/mpm-transport/mpm-transport_git.bb PACKAGE_ARCH = "${MACHINE_ARCH}" · line 15

Quoted 1 line
recipes-ti/mpm-transport/mpm-transport_git.bb +0 -0
@@ -15,15 +15,16 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
 SRC_URI = "git://git.ti.com/keystone-linux/mpm-

transport.git;protocol=git;branch=${BRANCH}"

recipes-ti/mpm-transport/mpm-transport_git.bb PACKAGE_ARCH = "${MACHINE_ARCH}" · line 18

Quoted 5 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +1 -2
 BRANCH = "master"
-# This commit corresponds to tag DEV.MPM-TRANSPORT-02.00.03.00
-SRCREV = "ba53217c5db1a6f9d21a0c8f50e9e30a6efa8be8"
+# This commit corresponds to tag DEV.MPM-TRANSPORT-02.00.04.00

SRCREV

recipes-ti/mpm-transport/mpm-transport_git.bb PACKAGE_ARCH = "${MACHINE_ARCH}"

Quoted 8 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +2 -1
+= "e0e44fe55bef7ddf89f7ff3574f07fa906e72a37"
 
-PV = "2.0.3.0"
+PV = "2.0.4.0"
 PR = "r0"
 
 EXTRA_OEMAKE = "PDK_INSTALL_PATH=${STAGING_INCDIR}"
 EXTRA_OEMAKE_append_k2hk-evm += "HYPLNK_TRANSPORT=true

SRIO_TRANSPORT=true"

recipes-ti/mpm-transport/mpm-transport_git.bb do_install() { · line 47

Quoted 11 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +2 -1
 EXTRA_OEMAKE_append_k2e += "HYPLNK_TRANSPORT=true"
+INSANE_SKIP_${PN} += "ldflags"
 
 S = "${WORKDIR}/git"
 
@@ -43,7 +44,7 @@ do_install() {
 	install -c -m 644 ${S}/include/* ${D}${includedir}/
 
 	install -d ${D}${libdir}/
-	cp  -a ${S}/lib/* ${D}${libdir}/
+	cp  -a --preserve=mode,timestamps --no-preserve=ownership

${S}/lib/*

Quoted 13 lines
recipes-ti/mpm-transport/mpm-transport_git.bb +1 -0
+${D}${libdir}/
 
 	install -d ${D}${sysconfdir}/mpm/
 	install -c -m 644 ${S}/scripts/mpm_config.json

${D}${sysconfdir}/mpm/mpm_config.json
--
1.9.1

--
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti