All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH 1/2] can-isotp: Upgrade to latest on master
@ 2021-07-14 16:25 Khem Raj
  2021-07-14 16:25 ` [meta-python][PATCH 2/2] python3-pyusb: Add missing runtime dependency on libusb1 Khem Raj
  0 siblings, 1 reply; 2+ messages in thread
From: Khem Raj @ 2021-07-14 16:25 UTC (permalink / raw)
  To: openembedded-devel; +Cc: David Sterling, Khem Raj

From: David Sterling <david-sterling@users.noreply.github.com>

It is needed for 5.2 to 5.10 kernel

Can-isotp is now upstream from kernel 5.10 onwards.
Use kernel config file instead.  This is only provided for legacy kernels.

For kernel 5.10 onwards use kernel defconfig option for ISO 15765-2 CAN
transport and do not use can-isotp recipe. You will get "The file
/usr/include/linux/can/isotp.h is installed by both linux-libc-headers
and can-isotp" error using this recipe with kernel >= 5.10

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-oe/recipes-extended/socketcan/can-isotp_git.bb | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-extended/socketcan/can-isotp_git.bb b/meta-oe/recipes-extended/socketcan/can-isotp_git.bb
index eca8dfc7b7..72d6757804 100644
--- a/meta-oe/recipes-extended/socketcan/can-isotp_git.bb
+++ b/meta-oe/recipes-extended/socketcan/can-isotp_git.bb
@@ -1,14 +1,17 @@
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=72d977d697c3c05830fdff00a7448931"
-SRCREV = "b31bce98d65f894aad6427bcf6f3f7822e261a59"
+SRCREV = "beb4650660179963a8ed5b5cbf2085cc1b34f608"
 PV = "1.0+git${SRCPV}"

 SRC_URI = "git://github.com/hartkopp/can-isotp.git;protocol=https"

+
 S = "${WORKDIR}/git"

 inherit module

 EXTRA_OEMAKE += "KERNELDIR=${STAGING_KERNEL_DIR}"

-PNBLACKLIST[can-isotp] ?= "Kernel module Needs forward porting to kernel 5.2+"
+do_install_append() {
+    install -Dm 644 ${S}/include/uapi/linux/can/isotp.h ${D}${includedir}/linux/can/isotp.h
+}
--
2.32.0

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

* [meta-python][PATCH 2/2] python3-pyusb: Add missing runtime dependency on libusb1
  2021-07-14 16:25 [meta-oe][PATCH 1/2] can-isotp: Upgrade to latest on master Khem Raj
@ 2021-07-14 16:25 ` Khem Raj
  0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2021-07-14 16:25 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Khem Raj

Patch as suggested from [1]

[1] https://github.com/openembedded/meta-openembedded/issues/394
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-python/recipes-devtools/python/python3-pyusb_1.2.0.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-python/recipes-devtools/python/python3-pyusb_1.2.0.bb b/meta-python/recipes-devtools/python/python3-pyusb_1.2.0.bb
index 06f7c1c82b..777aa2bc79 100644
--- a/meta-python/recipes-devtools/python/python3-pyusb_1.2.0.bb
+++ b/meta-python/recipes-devtools/python/python3-pyusb_1.2.0.bb
@@ -13,4 +13,6 @@ SRC_URI[sha256sum] = "d68597d2cf7df766bdf816b1a337b72ab8233c19825e170ae18714f16b

 inherit pypi setuptools3

+RDEPENDS_${PN} += "libusb1"
+
 BBCLASSEXTEND = "native nativesdk"
--
2.32.0

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

end of thread, other threads:[~2021-07-14 16:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-14 16:25 [meta-oe][PATCH 1/2] can-isotp: Upgrade to latest on master Khem Raj
2021-07-14 16:25 ` [meta-python][PATCH 2/2] python3-pyusb: Add missing runtime dependency on libusb1 Khem Raj

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.