diff mbox series

[meta-oe,scarthgap,2/5] can-utils: Split mcp251fd* into sub-package

Message ID 20250418113148.142480-3-alb3rt0.m3rciai@gmail.com
State New
Headers show
Series Upgrade 2023.03 -> 2025.01 | expand

Commit Message

Alberto Merciai April 18, 2025, 11:31 a.m. UTC
From: Ricardo Simoes <ricardo.simoes@pt.bosch.com>

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 <ricardo.simoes@pt.bosch.com>
Signed-off-by: Mark Jonas <mark.jonas@de.bosch.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta-oe/recipes-extended/socketcan/can-utils_2025.01.bb | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Gyorgy Sarvari April 18, 2025, 11:52 a.m. UTC | #1
Don't know if you had any discussions about this outside of this mailing
list (such updates are not in line with the LTS/Stable policy, but I
guess there can be exceptions...). However at least this looks like a
breaking change - if anyone is using these tools in their project, after
this update most likely they will face errors. Not a huge breaking
change, but still one, nevertheless.

On 4/18/25 13:31, Alberto Merciai via lists.openembedded.org wrote:
> From: Ricardo Simoes <ricardo.simoes@pt.bosch.com>
>
> 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 <ricardo.simoes@pt.bosch.com>
> Signed-off-by: Mark Jonas <mark.jonas@de.bosch.com>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> ---
>  meta-oe/recipes-extended/socketcan/can-utils_2025.01.bb | 5 +++++
>  1 file changed, 5 insertions(+)
>
> diff --git a/meta-oe/recipes-extended/socketcan/can-utils_2025.01.bb b/meta-oe/recipes-extended/socketcan/can-utils_2025.01.bb
> index cad41944ec..932aa1de20 100644
> --- a/meta-oe/recipes-extended/socketcan/can-utils_2025.01.bb
> +++ b/meta-oe/recipes-extended/socketcan/can-utils_2025.01.bb
> @@ -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"
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#116953): https://lists.openembedded.org/g/openembedded-devel/message/116953
> Mute This Topic: https://lists.openembedded.org/mt/112329372/6084445
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [skandigraun@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
diff mbox series

Patch

diff --git a/meta-oe/recipes-extended/socketcan/can-utils_2025.01.bb b/meta-oe/recipes-extended/socketcan/can-utils_2025.01.bb
index cad41944ec..932aa1de20 100644
--- a/meta-oe/recipes-extended/socketcan/can-utils_2025.01.bb
+++ b/meta-oe/recipes-extended/socketcan/can-utils_2025.01.bb
@@ -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"