blob: aaa265348321af747a79ed7b9aaabfdb5ac73b28 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001SUMMARY = "canutils (PTX flavour)"
2HOMEPAGE = "http://www.pengutronix.de"
3SECTION = "console/network"
4
5LICENSE = "GPLv2"
6LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
7
8DEPENDS = "libsocketcan"
9
10SRCREV = "299dff7f5322bf0348dcdd60071958ebedf5f09d"
11SRC_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 Geisslerd688a012020-09-18 13:36:00 -050015inherit update-alternatives
16
Patrick Williamsb48b7b42016-08-17 15:04:38 -050017S = "${WORKDIR}/git"
18
19inherit autotools pkgconfig
20
21# Busybox ip doesn't support can interface configuration, use the real thing
22RDEPENDS_${PN} += "iproute2"
Andrew Geisslerd688a012020-09-18 13:36:00 -050023
24ALTERNATIVE_PRIORITY = "90"
25ALTERNATIVE_${PN} = "candump cansend"
26ALTERNATIVE_LINK_NAME[candump] = "${bindir}/candump"
27ALTERNATIVE_LINK_NAME[cansend] = "${bindir}/cansend"