Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | SUMMARY = "canutils (PTX flavour)" |
| 2 | HOMEPAGE = "http://www.pengutronix.de" |
| 3 | SECTION = "console/network" |
| 4 | |
| 5 | LICENSE = "GPLv2" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" |
| 7 | |
| 8 | DEPENDS = "libsocketcan" |
| 9 | |
| 10 | SRCREV = "299dff7f5322bf0348dcdd60071958ebedf5f09d" |
| 11 | SRC_URI = "git://git.pengutronix.de/git/tools/canutils.git;protocol=git \ |
| 12 | file://0001-canutils-candump-Add-error-frame-s-handling.patch \ |
| 13 | " |
| 14 | |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 15 | inherit update-alternatives |
| 16 | |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 17 | S = "${WORKDIR}/git" |
| 18 | |
| 19 | inherit autotools pkgconfig |
| 20 | |
| 21 | # Busybox ip doesn't support can interface configuration, use the real thing |
| 22 | RDEPENDS_${PN} += "iproute2" |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 23 | |
| 24 | ALTERNATIVE_PRIORITY = "90" |
Andrew Geissler | 4b7c115 | 2020-11-30 19:55:29 -0600 | [diff] [blame] | 25 | ALTERNATIVE_${PN} = "candump cansend cansequence" |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 26 | ALTERNATIVE_LINK_NAME[candump] = "${bindir}/candump" |
| 27 | ALTERNATIVE_LINK_NAME[cansend] = "${bindir}/cansend" |
Andrew Geissler | 4b7c115 | 2020-11-30 19:55:29 -0600 | [diff] [blame] | 28 | ALTERNATIVE_LINK_NAME[cansequence] = "${bindir}/cansequence" |