blob: 3b2b6a9da1cc0398b06e7c6c75fe431d5c2977d8 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001SUMMARY = "Linux CAN network development utilities"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05002LICENSE = "GPLv2 & BSD-3-Clause"
Andrew Geissler82c905d2020-04-13 13:39:40 -05003LIC_FILES_CHKSUM = "file://include/linux/can.h;endline=44;md5=a9e1169c6c9a114a61329e99f86fdd31"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05004
5DEPENDS = "libsocketcan"
6
Andrew Geissler82c905d2020-04-13 13:39:40 -05007SRC_URI = "git://github.com/linux-can/${BPN}.git;protocol=git"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05008
Andrew Geissler72956ed2021-01-08 16:11:14 -06009SRCREV = "eb66451df280f95a9a12e78b151b8d867e1b78ed"
Andrew Geissler82c905d2020-04-13 13:39:40 -050010
Andrew Geissler72956ed2021-01-08 16:11:14 -060011PV = "2020.12.0"
Patrick Williamsb48b7b42016-08-17 15:04:38 -050012
13S = "${WORKDIR}/git"
14
Andrew Geisslerd688a012020-09-18 13:36:00 -050015inherit autotools pkgconfig update-alternatives
16
Andrew Geissler97771a32021-03-05 15:23:11 -060017PACKAGES =+ "${PN}-access ${PN}-isotp ${PN}-j1939 ${PN}-cantest ${PN}-slcan ${PN}-log"
18
19FILES_${PN}-access = " \
20 ${bindir}/cangw \
21 ${bindir}/canlogserver \
22 ${bindir}/bcmserver \
23 ${bindir}/socketcand \
24 ${bindir}/cannelloni \
25"
26
27FILES_${PN}-isotp = "${bindir}/isotp*"
28
29FILES_${PN}-j1939 = " \
30 ${bindir}/j* \
31 ${bindir}/testj1939 \
32"
33
34FILES_${PN}-cantest = " \
35 ${bindir}/canbusload \
36 ${bindir}/can-calc-bit-timing \
37 ${bindir}/canfdtest \
38"
39
40FILES_${PN}-slcan = "${bindir}/slcan*"
41
42FILES_${PN}-log = "${bindir}/*log*"
43
Andrew Geissler4b7c1152020-11-30 19:55:29 -060044ALTERNATIVE_${PN} = "candump cansend cansequence"
Andrew Geisslerd688a012020-09-18 13:36:00 -050045ALTERNATIVE_LINK_NAME[candump] = "${bindir}/candump"
46ALTERNATIVE_LINK_NAME[cansend] = "${bindir}/cansend"
Andrew Geissler4b7c1152020-11-30 19:55:29 -060047ALTERNATIVE_LINK_NAME[cansequence] = "${bindir}/cansequence"