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 | |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 5 | LICENSE = "GPL-2.0-only" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" |
| 7 | |
| 8 | DEPENDS = "libsocketcan" |
| 9 | |
| 10 | SRCREV = "299dff7f5322bf0348dcdd60071958ebedf5f09d" |
Andrew Geissler | 595f630 | 2022-01-24 19:11:47 +0000 | [diff] [blame] | 11 | SRC_URI = "git://git.pengutronix.de/git/tools/canutils.git;protocol=git;branch=master \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 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 |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 22 | RDEPENDS:${PN} += "iproute2" |
Andrew Geissler | d688a01 | 2020-09-18 13:36:00 -0500 | [diff] [blame] | 23 | |
| 24 | ALTERNATIVE_PRIORITY = "90" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [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" |