From f3a3890c8a06560675f2af869061423c7d299154 Mon Sep 17 00:00:00 2001 From: Ricardo Simoes Date: Thu, 13 Feb 2025 12:58:25 +0100 Subject: can-utils: Upgrade 2023.03 -> 2025.01 Changelog: https://github.com/linux-can/can-utils/releases/tag/v2025.01 Signed-off-by: Ricardo Simoes Signed-off-by: Mark Jonas Signed-off-by: Khem Raj --- .../socketcan/can-utils_2023.03.bb | 50 ---------------- .../socketcan/can-utils_2025.01.bb | 68 ++++++++++++++++++++++ 2 files changed, 68 insertions(+), 50 deletions(-) delete mode 100644 meta-oe/recipes-extended/socketcan/can-utils_2023.03.bb create mode 100644 meta-oe/recipes-extended/socketcan/can-utils_2025.01.bb (limited to 'meta-oe') diff --git a/meta-oe/recipes-extended/socketcan/can-utils_2023.03.bb b/meta-oe/recipes-extended/socketcan/can-utils_2023.03.bb deleted file mode 100644 index 51d6327b75..0000000000 --- a/meta-oe/recipes-extended/socketcan/can-utils_2023.03.bb +++ /dev/null @@ -1,50 +0,0 @@ -SUMMARY = "Linux CAN network development utilities" -LICENSE = "GPL-2.0-only & BSD-3-Clause" -LIC_FILES_CHKSUM = "file://include/linux/can.h;endline=44;md5=a9e1169c6c9a114a61329e99f86fdd31" - -DEPENDS = "libsocketcan" - -SRC_URI = "git://github.com/linux-can/${BPN}.git;protocol=https;branch=master" - -SRCREV = "cfe41963f3425e9adb01a70cfaddedf5e5982720" - -S = "${WORKDIR}/git" - -inherit autotools pkgconfig update-alternatives - -PACKAGES =+ "${PN}-access ${PN}-isotp ${PN}-j1939 ${PN}-cantest ${PN}-slcan ${PN}-log" - -FILES:${PN}-access = " \ - ${bindir}/cangw \ - ${bindir}/canlogserver \ - ${bindir}/bcmserver \ - ${bindir}/socketcand \ - ${bindir}/cannelloni \ -" - -FILES:${PN}-isotp = "${bindir}/isotp*" - -FILES:${PN}-j1939 = " \ - ${bindir}/j* \ - ${bindir}/testj1939 \ -" - -FILES:${PN}-cantest = " \ - ${bindir}/canbusload \ - ${bindir}/can-calc-bit-timing \ - ${bindir}/canfdtest \ -" - -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" -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" - diff --git a/meta-oe/recipes-extended/socketcan/can-utils_2025.01.bb b/meta-oe/recipes-extended/socketcan/can-utils_2025.01.bb new file mode 100644 index 0000000000..cad41944ec --- /dev/null +++ b/meta-oe/recipes-extended/socketcan/can-utils_2025.01.bb @@ -0,0 +1,68 @@ +SUMMARY = "Linux CAN network development utilities" +LICENSE = "GPL-2.0-only & BSD-3-Clause" +LIC_FILES_CHKSUM = "file://include/linux/can.h;endline=44;md5=a9e1169c6c9a114a61329e99f86fdd31" + +DEPENDS = "libsocketcan" + +SRC_URI = "git://github.com/linux-can/${BPN}.git;protocol=https;branch=master" + +SRCREV = "01083a64ebf28cc716efe2d2fd51c141042ae34b" + +S = "${WORKDIR}/git" + +inherit cmake pkgconfig update-alternatives + +PACKAGES =+ " \ + ${PN}-access \ + ${PN}-cantest \ + ${PN}-isobusfs \ + ${PN}-isobusfs-dev \ + ${PN}-isotp \ + ${PN}-j1939 \ + ${PN}-log \ + ${PN}-slcan \ +" + +FILES:${PN}-access = " \ + ${bindir}/cangw \ + ${bindir}/canlogserver \ + ${bindir}/bcmserver \ + ${bindir}/socketcand \ + ${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 = " \ + ${bindir}/j* \ + ${bindir}/testj1939 \ +" + +FILES:${PN}-log = "${bindir}/*log*" + +FILES:${PN}-slcan = "${bindir}/slcan*" + +ALTERNATIVE:${PN} = "candump cansend cansequence" +ALTERNATIVE_LINK_NAME[candump] = "${bindir}/candump" +ALTERNATIVE_LINK_NAME[cansend] = "${bindir}/cansend" +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" -- cgit v1.2.3-54-g00ecf