aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/socketcan/can-utils_git.bb
blob: e3a045bcf63a57b9e86314779eb8b50e06c126b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
SUMMARY = "Linux CAN network development utilities"
LICENSE = "GPLv2 & BSD-3-Clause"
LIC_FILES_CHKSUM = "file://include/linux/can.h;endline=44;md5=a9e1169c6c9a114a61329e99f86fdd31"

DEPENDS = "libsocketcan"

SRC_URI = "git://github.com/linux-can/${BPN}.git;protocol=git"

SRCREV = "856d0a662a02dd2dc0b83a7ad1de9fd120e82c4b"

PV = "2020.11.0"

S = "${WORKDIR}/git"

inherit autotools pkgconfig update-alternatives

ALTERNATIVE_${PN} = "candump cansend"
ALTERNATIVE_LINK_NAME[candump] = "${bindir}/candump"
ALTERNATIVE_LINK_NAME[cansend] = "${bindir}/cansend"