summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/socketcan/can-isotp_git.bb
blob: 530e38ce21c8e42ea2bfe4e3da0c17bec27bbeca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=72d977d697c3c05830fdff00a7448931"
SRCREV = "7626d0a0707391970080d493ce69638719938da7"
PV = "1.0+git"

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

# Upstream repo does not tag
UPSTREAM_CHECK_COMMITS = "1"


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
}

SKIP_RECIPE[can-isotp] ?= "Not needed with kernel 5.10+"