blob: 8b13daea1c48c12a94b778a279eb213e4e2ce58e [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"
Andrew Geissler4b7c1152020-11-30 19:55:29 -060025ALTERNATIVE_${PN} = "candump cansend cansequence"
Andrew Geisslerd688a012020-09-18 13:36:00 -050026ALTERNATIVE_LINK_NAME[candump] = "${bindir}/candump"
27ALTERNATIVE_LINK_NAME[cansend] = "${bindir}/cansend"
Andrew Geissler4b7c1152020-11-30 19:55:29 -060028ALTERNATIVE_LINK_NAME[cansequence] = "${bindir}/cansequence"