]> code.ossystems Code Review - meta-freescale.git/commitdiff
ceetm: update recipes
authorChunrong Guo <chunrong.guo@nxp.com>
Thu, 9 Nov 2017 07:13:06 +0000 (15:13 +0800)
committerOtavio Salvador <otavio@ossystems.com.br>
Fri, 10 Nov 2017 15:59:35 +0000 (13:59 -0200)
*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@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
recipes-kernel/ceetm/ceetm_git.bb

index 44ca577eacef3277be2e36ef9d869428f633509e..e56b74da29b6fae8827c4e0ad8a9d73ef73a551a 100644 (file)
@@ -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}"