Skip to content

Commit bb9be0a

Browse files
david-sterlingkraj
authored andcommitted
can-isotp: Upgrade to latest on master
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>
1 parent 1860045 commit bb9be0a

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
LICENSE = "GPLv2"
22
LIC_FILES_CHKSUM = "file://COPYING;md5=72d977d697c3c05830fdff00a7448931"
3-
SRCREV = "b31bce98d65f894aad6427bcf6f3f7822e261a59"
3+
SRCREV = "beb4650660179963a8ed5b5cbf2085cc1b34f608"
44
PV = "1.0+git${SRCPV}"
55

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

8+
89
S = "${WORKDIR}/git"
910

1011
inherit module
1112

1213
EXTRA_OEMAKE += "KERNELDIR=${STAGING_KERNEL_DIR}"
1314

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

0 commit comments

Comments
 (0)