pings

-----Original Message-----
From: Chunrong Guo [mailto:b40...@freescale.com] 
Sent: Monday, October 30, 2017 4:54 PM
To: meta-freescale@yoctoproject.org
Cc: Zhenhua Luo <zhenhua....@nxp.com>; C.r. Guo <chunrong....@nxp.com>
Subject: [PATCH 13/13] ceetm: update recipes

From: Chunrong Guo <chunrong....@nxp.com>

*Fix wrong md5sum of license file
fix the below error:
|ERROR: ceetm-git-r0 do_populate_lic: QA Issue: ceetm: The 
|LIC_FILES_CHKSUM does not  match for 
|file://COPYING;md5=b5881ecf398da8a03a3f4c501e29d287

*Change git repository URL

*Update to f58304d
This includes the following changes:
f58304d - Update Copyright owners
6fe89a0 - ceetm: use IPROUTE2_DIR in build include path for LSDK 896094f - 
ceetm: update include path for LSDK/flex-builder
74f2393 - ceetm: fix small compiler warnings 20be45f - ceetm: restructure 
sources for LSDK integration

*Add iproute2 to SRC_URI
because ceetms compile depend heard file in iproute2-dbg package

*Add md5/sha256 checksums of iproute2

*Update EXTRA_OEMAKE to fix compile error fix the below error:
|q_ceetm.h:33:10: fatal error: include/utils.h: No such file or 
|directory

*Fix the installation directory
fix the below error:
|cp: cannot stat 
|'aarch64-qoriq-poky-linux/ceetm/git-r0/git/bin/q_ceetm.so': No such 
|file or directory

*Update COMPATIBLE_MACHINE for ls1088a

Signed-off-by: Chunrong Guo <chunrong....@nxp.com>
---
 recipes-kernel/ceetm/ceetm_git.bb | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/recipes-kernel/ceetm/ceetm_git.bb 
b/recipes-kernel/ceetm/ceetm_git.bb
index 44ca577..b64e26b 100644
--- a/recipes-kernel/ceetm/ceetm_git.bb
+++ b/recipes-kernel/ceetm/ceetm_git.bb
@@ -1,22 +1,27 @@
 DESCRIPTION = "CEETM TC QDISC"
 LICENSE = "GPLv2 & BSD"
-LIC_FILES_CHKSUM = "file://COPYING;md5=b5881ecf398da8a03a3f4c501e29d287"
+LIC_FILES_CHKSUM = "file://COPYING;md5=dde0931a586dd5b30076639e29ba3a7b"
 
-SRC_URI = "git://git.freescale.com/ppc/sdk/ceetm.git;branch=sdk-v2.0.x"
-SRCREV = "a237e094c3316a55727b855d15480e664545316a"
+SRC_URI = "git://github.com/qoriq-open-source/ceetm.git;nobranch=1 \
+           
+${KERNELORG_MIRROR}/linux/utils/net/iproute2/iproute2-4.11.0.tar.xz;name=iproute2;destsuffix=git/iproute2
 \ "
+SRCREV = "f58304d7e2185003d0f4ff604bc8e4316d463a03"
+
+SRC_URI[iproute2.md5sum] = "7a9498de88bcca95c305df6108ae197e"
+SRC_URI[iproute2.sha256sum] = 
"72671028bda696d0cb8f48ec8e702581c3a501caeed33eec3a81d7041cbc8026"
 
 S = "${WORKDIR}/git"
 
-EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} SYSROOT=${STAGING_DIR_TARGET}"
+EXTRA_OEMAKE = 'CC="${CC}" LD="${CC}" 
IPROUTE2_DIR="${WORKDIR}/iproute2-4.11.0"'
 
 do_install(){
     mkdir -p ${D}/${libdir}/tc
-    cp ${S}/bin/q_ceetm.so ${D}/${libdir}/tc/
+    cp ${S}/q_ceetm.so ${D}/${libdir}/tc/
 }
 
 FILES_${PN} += "${libdir}/tc"
 INHIBIT_PACKAGE_STRIP = "1"
 
-COMPATIBLE_MACHINE = "(b4|t1|t2|t4|ls1043a|ls1046a)"
+COMPATIBLE_MACHINE = "(b4|t1|t2|t4|ls1043a|ls1046a|ls1088a)"
 PACKAGE_ARCH = "${MACHINE_SOCARCH}"
 
--
1.9.0

-- 
_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to