blob: ab4710e81f16d5ffee1fe781a36b89d1871223c6 [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001SUMMARY = "canutils (PTX flavour)"
2HOMEPAGE = "http://www.pengutronix.de"
3SECTION = "console/network"
4
Andrew Geissler9aee5002022-03-30 16:27:02 +00005LICENSE = "GPL-2.0-only"
Patrick Williamsb48b7b42016-08-17 15:04:38 -05006LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
7
8DEPENDS = "libsocketcan"
9
10SRCREV = "299dff7f5322bf0348dcdd60071958ebedf5f09d"
Andrew Geissler595f6302022-01-24 19:11:47 +000011SRC_URI = "git://git.pengutronix.de/git/tools/canutils.git;protocol=git;branch=master \
Patrick Williamsb48b7b42016-08-17 15:04:38 -050012 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
Patrick Williams213cb262021-08-07 19:21:33 -050022RDEPENDS:${PN} += "iproute2"
Andrew Geisslerd688a012020-09-18 13:36:00 -050023
24ALTERNATIVE_PRIORITY = "90"
Patrick Williams213cb262021-08-07 19:21:33 -050025ALTERNATIVE:${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"