blob: ad7fc596ed212db629b16b98784dccc2743ef358 [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 Geissler69721092021-07-23 12:57:00 -04009SRCREV = "e9dd86fa5c4e6ecdfc34e487634a32f19e5c4d63"
Andrew Geissler82c905d2020-04-13 13:39:40 -050010
Andrew Geissler69721092021-07-23 12:57:00 -040011PV = "2021.06.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
Patrick Williams213cb262021-08-07 19:21:33 -050019FILES:${PN}-access = " \
Andrew Geissler97771a32021-03-05 15:23:11 -060020 ${bindir}/cangw \
21 ${bindir}/canlogserver \
22 ${bindir}/bcmserver \
23 ${bindir}/socketcand \
24 ${bindir}/cannelloni \
25"
26
Patrick Williams213cb262021-08-07 19:21:33 -050027FILES:${PN}-isotp = "${bindir}/isotp*"
Andrew Geissler97771a32021-03-05 15:23:11 -060028
Patrick Williams213cb262021-08-07 19:21:33 -050029FILES:${PN}-j1939 = " \
Andrew Geissler97771a32021-03-05 15:23:11 -060030 ${bindir}/j* \
31 ${bindir}/testj1939 \
32"
33
Patrick Williams213cb262021-08-07 19:21:33 -050034FILES:${PN}-cantest = " \
Andrew Geissler97771a32021-03-05 15:23:11 -060035 ${bindir}/canbusload \
36 ${bindir}/can-calc-bit-timing \
37 ${bindir}/canfdtest \
38"
39
Patrick Williams213cb262021-08-07 19:21:33 -050040FILES:${PN}-slcan = "${bindir}/slcan*"
Andrew Geissler97771a32021-03-05 15:23:11 -060041
Patrick Williams213cb262021-08-07 19:21:33 -050042FILES:${PN}-log = "${bindir}/*log*"
Andrew Geissler97771a32021-03-05 15:23:11 -060043
Patrick Williams213cb262021-08-07 19:21:33 -050044ALTERNATIVE:${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"