Update can-utils to 2025.01
cover Update can-utils to 2025.01
From: Mark Jonas <[email protected]>
- Update can-utils to version 2025.01
- Split out the mcp251fd tools to into a can-utils-mcp251fd package
Ricardo Simoes (2):
can-utils: Upgrade 2023.03 -> 2025.01
can-utils: Split mcp251fd* into sub-package
...-utils_2023.03.bb => can-utils_2025.01.bb} | 43 ++++++++++++++-----
1 file changed, 33 insertions(+), 10 deletions(-)
rename meta-oe/recipes-extended/socketcan/{can-utils_2023.03.bb => can-utils_2025.01.bb} (69%)Signature · 1 line
2.34.1
PATCH 1/2 can-utils: Upgrade 2023.03 -> 2025.01
From: Ricardo Simoes <[email protected]>
Changelog: https://github.com/linux-can/can-utils/releases/tag/v2025.01
Signed-off-by Ricardo Simoes <[email protected]>
Signed-off-by Mark Jonas <[email protected]>
---
...-utils_2023.03.bb => can-utils_2025.01.bb} | 40 ++++++++++++++-----
1 file changed, 29 insertions(+), 11 deletions(-)
rename meta-oe/recipes-extended/socketcan/{can-utils_2023.03.bb => can-utils_2025.01.bb} (72%)meta-oe/recipes-extended/socketcan/can-utils_2025.01.bb renamed from meta-oe/recipes-extended/socketcan/can-utils_2023.03.bb +29 -11
@@ -6,13 +6,22 @@ DEPENDS = "libsocketcan" SRC_URI = "git://github.com/linux-can/${BPN}.git;protocol=https;branch=master" -SRCREV = "cfe41963f3425e9adb01a70cfaddedf5e5982720" +SRCREV = "01083a64ebf28cc716efe2d2fd51c141042ae34b" S = "${WORKDIR}/git" -inherit autotools pkgconfig update-alternatives +inherit cmake pkgconfig update-alternatives -PACKAGES =+ "${PN}-access ${PN}-isotp ${PN}-j1939 ${PN}-cantest ${PN}-slcan ${PN}-log" +PACKAGES =+ " \ + ${PN}-access \ + ${PN}-cantest \ + ${PN}-isobusfs \ + ${PN}-isobusfs-dev \ + ${PN}-isotp \ + ${PN}-j1939 \ + ${PN}-log \ + ${PN}-slcan \ +" FILES:${PN}-access = " \ ${bindir}/cangw \
@@ -22,6 +31,22 @@ FILES:${PN}-access = " \ ${bindir}/cannelloni \ " +FILES:${PN}-cantest = " \ + ${bindir}/canbusload \ + ${bindir}/can-calc-bit-timing \ + ${bindir}/canfdtest \ +" + +FILES:${PN}-isobusfs = " \ + ${bindir}/isobusfs-cli \ + ${bindir}/isobusfs-srv \ + ${libdir}/libisobusfs.so \ +" + +FILES:${PN}-isobusfs-dev = " \ + ${includedir}/isobusfs* \ +" + FILES:${PN}-isotp = "${bindir}/isotp*" FILES:${PN}-j1939 = " \
@@ -29,16 +54,10 @@ FILES:${PN}-j1939 = " \ ${bindir}/testj1939 \ " -FILES:${PN}-cantest = " \ - ${bindir}/canbusload \ - ${bindir}/can-calc-bit-timing \ - ${bindir}/canfdtest \ -" +FILES:${PN}-log = "${bindir}/*log*" FILES:${PN}-slcan = "${bindir}/slcan*" -FILES:${PN}-log = "${bindir}/*log*" - ALTERNATIVE:${PN} = "candump cansend cansequence" ALTERNATIVE_LINK_NAME[candump] = "${bindir}/candump" ALTERNATIVE_LINK_NAME[cansend] = "${bindir}/cansend"
@@ -47,4 +66,3 @@ ALTERNATIVE_LINK_NAME[cansequence] = "${bindir}/cansequence" # busybox ip fails to configure can interfaces, so we need iproute2 to do so. # See details in http://www.armadeus.com/wiki/index.php?title=CAN_bus_Linux_driver. RRECOMMENDS:${PN} += "iproute2-ip" -
Signature · 1 line
2.34.1
PATCH 2/2 can-utils: Split mcp251fd* into sub-package
In reply to [email protected]From: Ricardo Simoes <[email protected]>
The mcp251fd* tools are specific to Microchip MCP251xFD Family CAN controllers. This commit creates the package can-utils-mcp251fd to keep these tools separate.
Signed-off-by Ricardo Simoes <[email protected]>
Signed-off-by Mark Jonas <[email protected]>
--- meta-oe/recipes-extended/socketcan/can-utils_2025.01.bb | 5 +++++ 1 file changed, 5 insertions(+)
meta-oe/recipes-extended/socketcan/can-utils_2025.01.bb +5 -0
@@ -20,6 +20,7 @@ PACKAGES =+ " \ ${PN}-isotp \ ${PN}-j1939 \ ${PN}-log \ + ${PN}-mcp251xfd \ ${PN}-slcan \ "
@@ -56,6 +57,10 @@ FILES:${PN}-j1939 = " \ FILES:${PN}-log = "${bindir}/*log*" +FILES:${PN}-mcp251xfd = " \ + ${bindir}/mcp251xfd* \ +" + FILES:${PN}-slcan = "${bindir}/slcan*" ALTERNATIVE:${PN} = "candump cansend cansequence"
Signature · 1 line
2.34.1