[meta-freescale] [PATCH 1/2] ceetm: update recipes

Chunrong Guo B40290 at freescale.com
Wed Nov 8 23:13:06 PST 2017


From: Chunrong Guo <chunrong.guo at 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 on DEPENDS
because ceetms compile depend heard file in iproute2-dbg package

*Update EXTRA_OEMAKE set

*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 ls2088a and ls1088a

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

diff --git a/recipes-kernel/ceetm/ceetm_git.bb b/recipes-kernel/ceetm/ceetm_git.bb
index 44ca577..e56b74d 100644
--- a/recipes-kernel/ceetm/ceetm_git.bb
+++ b/recipes-kernel/ceetm/ceetm_git.bb
@@ -1,22 +1,24 @@
 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"
+SRCREV = "f58304d7e2185003d0f4ff604bc8e4316d463a03"
+
+DEPENDS = "iproute2"
 
 S = "${WORKDIR}/git"
 
-EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} SYSROOT=${STAGING_DIR_TARGET}"
+EXTRA_OEMAKE = 'CC="${CC}" LD="${CC}" IPROUTE2_DIR="{STAGING_DIR_TARGET}"'
 
 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|ls2088a|ls1088a)"
 PACKAGE_ARCH = "${MACHINE_SOCARCH}"
 
-- 
1.9.0



More information about the meta-freescale mailing list