mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-17 12:41:58 +02:00
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>
18 lines
441 B
BlitzBasic
18 lines
441 B
BlitzBasic
LICENSE = "GPLv2"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=72d977d697c3c05830fdff00a7448931"
|
|
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}"
|
|
|
|
do_install_append() {
|
|
install -Dm 644 ${S}/include/uapi/linux/can/isotp.h ${D}${includedir}/linux/can/isotp.h
|
|
}
|