Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | SUMMARY = "Linux CAN network development utilities" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 2 | LICENSE = "GPLv2 & BSD-3-Clause" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 3 | LIC_FILES_CHKSUM = "file://include/linux/can.h;endline=44;md5=a9e1169c6c9a114a61329e99f86fdd31" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 4 | |
| 5 | DEPENDS = "libsocketcan" |
| 6 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 7 | SRC_URI = "git://github.com/linux-can/${BPN}.git;protocol=git" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 8 | |
Andrew Geissler | 72956ed | 2021-01-08 16:11:14 -0600 | [diff] [blame] | 9 | SRCREV = "eb66451df280f95a9a12e78b151b8d867e1b78ed" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 10 | |
Andrew Geissler | 72956ed | 2021-01-08 16:11:14 -0600 | [diff] [blame] | 11 | PV = "2020.12.0" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 12 | |
| 13 | S = "${WORKDIR}/git" |
| 14 | |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 15 | inherit autotools pkgconfig update-alternatives |
| 16 | |
Andrew Geissler | 97771a3 | 2021-03-05 15:23:11 -0600 | [diff] [blame^] | 17 | PACKAGES =+ "${PN}-access ${PN}-isotp ${PN}-j1939 ${PN}-cantest ${PN}-slcan ${PN}-log" |
| 18 | |
| 19 | FILES_${PN}-access = " \ |
| 20 | ${bindir}/cangw \ |
| 21 | ${bindir}/canlogserver \ |
| 22 | ${bindir}/bcmserver \ |
| 23 | ${bindir}/socketcand \ |
| 24 | ${bindir}/cannelloni \ |
| 25 | " |
| 26 | |
| 27 | FILES_${PN}-isotp = "${bindir}/isotp*" |
| 28 | |
| 29 | FILES_${PN}-j1939 = " \ |
| 30 | ${bindir}/j* \ |
| 31 | ${bindir}/testj1939 \ |
| 32 | " |
| 33 | |
| 34 | FILES_${PN}-cantest = " \ |
| 35 | ${bindir}/canbusload \ |
| 36 | ${bindir}/can-calc-bit-timing \ |
| 37 | ${bindir}/canfdtest \ |
| 38 | " |
| 39 | |
| 40 | FILES_${PN}-slcan = "${bindir}/slcan*" |
| 41 | |
| 42 | FILES_${PN}-log = "${bindir}/*log*" |
| 43 | |
Andrew Geissler | 4b7c115 | 2020-11-30 19:55:29 -0600 | [diff] [blame] | 44 | ALTERNATIVE_${PN} = "candump cansend cansequence" |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 45 | ALTERNATIVE_LINK_NAME[candump] = "${bindir}/candump" |
| 46 | ALTERNATIVE_LINK_NAME[cansend] = "${bindir}/cansend" |
Andrew Geissler | 4b7c115 | 2020-11-30 19:55:29 -0600 | [diff] [blame] | 47 | ALTERNATIVE_LINK_NAME[cansequence] = "${bindir}/cansequence" |