All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] ceetm: update recipes
@ 2017-11-09  7:13 Chunrong Guo
  2017-11-09  7:13 ` [PATCH 2/2] iproute2: add bbappend Chunrong Guo
  0 siblings, 1 reply; 2+ messages in thread
From: Chunrong Guo @ 2017-11-09  7:13 UTC (permalink / raw)
  To: meta-freescale; +Cc: chunrong.guo

From: Chunrong Guo <chunrong.guo@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@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



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH 2/2] iproute2: add bbappend
  2017-11-09  7:13 [PATCH 1/2] ceetm: update recipes Chunrong Guo
@ 2017-11-09  7:13 ` Chunrong Guo
  0 siblings, 0 replies; 2+ messages in thread
From: Chunrong Guo @ 2017-11-09  7:13 UTC (permalink / raw)
  To: meta-freescale; +Cc: chunrong.guo

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

*install head file of iproute2
So that we can use them outside of iproute2 package

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
---
 recipes-connectivity/iproute2/iproute2_%.bbappend | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 recipes-connectivity/iproute2/iproute2_%.bbappend

diff --git a/recipes-connectivity/iproute2/iproute2_%.bbappend b/recipes-connectivity/iproute2/iproute2_%.bbappend
new file mode 100644
index 0000000..4426eca
--- /dev/null
+++ b/recipes-connectivity/iproute2/iproute2_%.bbappend
@@ -0,0 +1,5 @@
+do_install_append () {
+    install -d ${D}/usr/include/tc 
+    cp -a ${B}/include  ${D}/usr/include
+    cp -a ${B}/tc/*.h    ${D}/usr/include/tc
+}
-- 
1.9.0



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-11-09  7:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-09  7:13 [PATCH 1/2] ceetm: update recipes Chunrong Guo
2017-11-09  7:13 ` [PATCH 2/2] iproute2: add bbappend Chunrong Guo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.