diff options
Diffstat (limited to 'meta-oe/recipes-extended/socketcan/canutils_4.0.6.bb')
-rw-r--r-- | meta-oe/recipes-extended/socketcan/canutils_4.0.6.bb | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/meta-oe/recipes-extended/socketcan/canutils_4.0.6.bb b/meta-oe/recipes-extended/socketcan/canutils_4.0.6.bb index e1508af857..ab4710e81f 100644 --- a/meta-oe/recipes-extended/socketcan/canutils_4.0.6.bb +++ b/meta-oe/recipes-extended/socketcan/canutils_4.0.6.bb @@ -2,19 +2,27 @@ SUMMARY = "canutils (PTX flavour)" HOMEPAGE = "http://www.pengutronix.de" SECTION = "console/network" -LICENSE = "GPLv2" +LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" DEPENDS = "libsocketcan" SRCREV = "299dff7f5322bf0348dcdd60071958ebedf5f09d" -SRC_URI = "git://git.pengutronix.de/git/tools/canutils.git;protocol=git \ +SRC_URI = "git://git.pengutronix.de/git/tools/canutils.git;protocol=git;branch=master \ file://0001-canutils-candump-Add-error-frame-s-handling.patch \ " +inherit update-alternatives + S = "${WORKDIR}/git" inherit autotools pkgconfig # Busybox ip doesn't support can interface configuration, use the real thing -RDEPENDS_${PN} += "iproute2" +RDEPENDS:${PN} += "iproute2" + +ALTERNATIVE_PRIORITY = "90" +ALTERNATIVE:${PN} = "candump cansend cansequence" +ALTERNATIVE_LINK_NAME[candump] = "${bindir}/candump" +ALTERNATIVE_LINK_NAME[cansend] = "${bindir}/cansend" +ALTERNATIVE_LINK_NAME[cansequence] = "${bindir}/cansequence" |