Skip to contentSkip to conversation

migration-5.2: Add entries for virtual provider and multiconfig changes

PATCH Superseded Antonin Godard 2 participants 7 messages Jan 31, 2025 – Feb 7, 2025

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

v2 cover migration-5.2: Add entries for virtual provider and multiconfig changes

Notes:
* original patch by Richard Purdie:
https://lore.kernel.org/r/[email protected]
This patch is just reformatting/typo fixes.
* The BB_CURRENT_MC should ideally be documented, but that will come at a later point with
https://bugzilla.yoctoproject.org/show_bug.cgi?id=15709.

---
Changes in v2:
- Split BB_CURRENT_MC and virtual changes in two commits
- Review from Quentin (thanks!):
- virtual changes:
- Add more examples to instruct how a user should migrate
- remove spurious "-" in example
- BB_CURRENT_MC:
- suggest to update logic based on BB_CURRENT_MC
- Link to v1: https://lore.kernel.org/r/[email protected]

---
Antonin Godard (2):
migration-5.2: document BB_CURRENT_MC default value change migration-5.2: add virtual provider change

 documentation/migration-guides/migration-5.2.rst | 40 ++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

---
base-commit: e6745669cc26de8f61d5d1ccdd5a95b552eece97
change-id: 20250129-migration-5-2-updates-cb613b02bd35

Best regards,

Signature · 1 line
Antonin Godard <[email protected]>
#1 lore raw

PATCH v2 1/2 migration-5.2: document BB_CURRENT_MC default value change

After commit 0fa0d8d764bb ("cooker/cache: Drop mc 'default' string value") in Bitbake, the default value of BB_CURRENT_MC was changed from "default" to an empty string. Document it.

---
 documentation/migration-guides/migration-5.2.rst | 11 +++++++++++
 1 file changed, 11 insertions(+)
documentation/migration-guides/migration-5.2.rst +11 -0
index e9de6910e..a60e3e9a8 100644
@@ -94,6 +94,17 @@ systemd changes
    not for socket files).
    Now all service files must be explicitly added to :term:`FILES`.
 
+Multiconfig changes
+~~~~~~~~~~~~~~~~~~~
+
+The value of ``BB_CURRENT_MC`` was changed from ``default`` to an empty string
+for the default multiconfig configuration to avoid needing to map the values
+within BitBake. This was already not happening in some cases so this fixes
+some obscure bugs.
+
+Any logic based on ``BB_CURRENT_MC`` equalling to ``default`` by default should
+be changed to be equal to an empty string.
+
 Recipe changes
 ~~~~~~~~~~~~~~
 
Signature · 1 line
2.47.0
#2 lore raw

PATCH v2 2/2 migration-5.2: add virtual provider change

In reply to Antonin Godard

The commit 4ccc3bc8266c ("classes/recipes: Switch virtual/XXX-gcc to virtual/cross-cc (and c++/binutils)") in OE-Core changes the virtual/XXX-gcc to virtual/cross-cc (and c++/binutils) syntax. Add it to the migration manual.

---
 documentation/migration-guides/migration-5.2.rst | 29 ++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
documentation/migration-guides/migration-5.2.rst +29 -0
index a60e3e9a8..b29cb2052 100644
@@ -105,6 +105,35 @@ some obscure bugs.
 Any logic based on ``BB_CURRENT_MC`` equalling to ``default`` by default should
 be changed to be equal to an empty string.
 
+Virtual toolchain provider changes
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Support was added for virtual providers on a per-recipe basis for specific
+key toolchain providers listed in ``BB_VIRTUAL_RECIPE_PROVIDERS``. As part of
+that support, the ``cross`` providers were simplified to remove the triplet
+prefix (:term:`TARGET_PREFIX`, :term:`SDK_PREFIX` and :term:`HOST_PREFIX`) and
+generalise the naming. Here are example of how references to these variables
+should be changed to use the new ``cross`` syntax::
+
+   virtual/${HOST_PREFIX}binutils -> virtual/cross-binutils
+   virtual/${TARGET_PREFIX}binutils -> virtual/cross-binutils
+
+   virtual/${HOST_PREFIX}gcc -> virtual/cross-cc
+   virtual/${TARGET_PREFIX}gcc -> virtual/cross-cc
+   virtual/${SDK_PREFIX}gcc -> virtual/nativesdk-cross-cc
+
+   virtual/${HOST_PREFIX}compilerlibs -> virtual/compilerlibs
+   virtual/${TARGET_PREFIX}compilerlibs -> virtual/compilerlibs
+   virtual/nativesdk-${SDK_PREFIX}compilerlibs -> virtual/nativesdk-compilerlibs
+
+   virtual/${TARGET_PREFIX}g++ -> virtual/cross-c++
+
+A :term:`PREFERRED_PROVIDER` assignment should be transformed as follows::
+
+   PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}binutils -> PREFERRED_PROVIDER_virtual/cross-binutils
+   PREFERRED_PROVIDER_virtual/${SDK_PREFIX}binutils -> PREFERRED_PROVIDER_virtual/cross-binutils:class-nativesdk
+   PREFERRED_PROVIDER_virtual/${SDK_PREFIX}g++ -> PREFERRED_PROVIDER_virtual/nativesdk-cross-c++
+
 Recipe changes
 ~~~~~~~~~~~~~~
 
Signature · 1 line
2.47.0
#3 lore raw

Re: [docs] [yocto-docs][PATCH v2 2/2] migration-5.2: add virtual provider change

Hi Antonin,

Quoted 32 lines · Antonin Godard via lists.yoctoproject.org

The commit 4ccc3bc8266c ("classes/recipes: Switch virtual/XXX-gcc to virtual/cross-cc (and c++/binutils)") in OE-Core changes the virtual/XXX-gcc to virtual/cross-cc (and c++/binutils) syntax. Add it to the migration manual.

---
  documentation/migration-guides/migration-5.2.rst | 29 ++++++++++++++++++++++++
  1 file changed, 29 insertions(+)
documentation/migration-guides/migration-5.2.rst +13 -0
index a60e3e9a8..b29cb2052 100644
@@ -105,6 +105,35 @@ some obscure bugs.
  Any logic based on ``BB_CURRENT_MC`` equalling to ``default`` by default should
  be changed to be equal to an empty string.
 
+Virtual toolchain provider changes
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Support was added for virtual providers on a per-recipe basis for specific
+key toolchain providers listed in ``BB_VIRTUAL_RECIPE_PROVIDERS``. As part of
+that support, the ``cross`` providers were simplified to remove the triplet
+prefix (:term:`TARGET_PREFIX`, :term:`SDK_PREFIX` and :term:`HOST_PREFIX`) and
+generalise the naming. Here are example of how references to these variables
+should be changed to use the new ``cross`` syntax::
+
+   virtual/${HOST_PREFIX}binutils -> virtual/cross-binutils
+   virtual/${TARGET_PREFIX}binutils -> virtual/cross-binutils
+

documentation/migration-guides/migration-5.2.rst some obscure bugs. · line 130

Quoted 10 lines
documentation/migration-guides/migration-5.2.rst +10 -0
+   virtual/${HOST_PREFIX}gcc -> virtual/cross-cc
+   virtual/${TARGET_PREFIX}gcc -> virtual/cross-cc
+   virtual/${SDK_PREFIX}gcc -> virtual/nativesdk-cross-cc
+
+   virtual/${HOST_PREFIX}compilerlibs -> virtual/compilerlibs
+   virtual/${TARGET_PREFIX}compilerlibs -> virtual/compilerlibs
+   virtual/nativesdk-${SDK_PREFIX}compilerlibs -> virtual/nativesdk-compilerlibs
+
+   virtual/${TARGET_PREFIX}g++ -> virtual/cross-c++
+

I am not sure this rule applies everywhere looking at the commit that makes the change? (see below for related comment)

documentation/migration-guides/migration-5.2.rst some obscure bugs. · line 136

Quoted 6 lines
documentation/migration-guides/migration-5.2.rst +6 -0
+A :term:`PREFERRED_PROVIDER` assignment should be transformed as follows::
+
+   PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}binutils -> PREFERRED_PROVIDER_virtual/cross-binutils
+   PREFERRED_PROVIDER_virtual/${SDK_PREFIX}binutils -> PREFERRED_PROVIDER_virtual/cross-binutils:class-nativesdk
+   PREFERRED_PROVIDER_virtual/${SDK_PREFIX}g++ -> PREFERRED_PROVIDER_virtual/nativesdk-cross-c++
+

I believe all PREFERRED_PROVIDER would replace TARGET_PREFIX with cross- (and rename gcc to cc, g++ to c++).

SDK_PREFIX would be replace following the same pattern as TARGET_PREFIX except that an override with :class-nativesdk should be provided. Though it seems there's now a second variable for each PREFERRED_PROVIDER which had an SDK_PREFIX, it'll also need nativesdk- prefix added to the same pattern used for TARGET_PREFIX. Except for compilerlibs which only gets the one with the nativesdk- prefix.

c.f. from 90e0a0f7f4536e1aeb311ab2b061be71b4129e4e in poky:

-PREFERRED_PROVIDER_virtual/${SDK_PREFIX}binutils ?= "binutils-crosssdk-${SDK_SYS}" -PREFERRED_PROVIDER_virtual/${SDK_PREFIX}gcc = "gcc-crosssdk-${SDK_SYS}" -PREFERRED_PROVIDER_virtual/${SDK_PREFIX}g++ = "gcc-crosssdk-${SDK_SYS}" -PREFERRED_PROVIDER_virtual/${SDK_PREFIX}compilerlibs = "nativesdk-gcc-runtime" +PREFERRED_PROVIDER_virtual/cross-binutils:class-nativesdk ?= "binutils-crosssdk-${SDK_SYS}" +PREFERRED_PROVIDER_virtual/cross-cc:class-nativesdk = "gcc-crosssdk-${SDK_SYS}" +PREFERRED_PROVIDER_virtual/cross-c++:class-nativesdk = "gcc-crosssdk-${SDK_SYS}" +
+PREFERRED_PROVIDER_virtual/nativesdk-cross-binutils ?= "binutils-crosssdk-${SDK_SYS}" +PREFERRED_PROVIDER_virtual/nativesdk-cross-cc = "gcc-crosssdk-${SDK_SYS}" +PREFERRED_PROVIDER_virtual/nativesdk-cross-c++ = "gcc-crosssdk-${SDK_SYS}" +PREFERRED_PROVIDER_virtual/nativesdk-compilerlibs = "nativesdk-gcc-runtime"

Now looking a bit more into the changes made in this commit, there isn't a simple search and replace that can be used, sometimes it's replacing a variable with one value, sometimes with another. Depends on the recipe the change is made in I guess?

Cheers,
Quentin

#4 lore raw

Re: [docs] [yocto-docs][PATCH v2 2/2] migration-5.2: add virtual provider change

Hi Quentin,

Quoted 87 lines · Quentin Schulz

Hi Antonin,

Quoted 32 lines · Antonin Godard via lists.yoctoproject.org

The commit 4ccc3bc8266c ("classes/recipes: Switch virtual/XXX-gcc to virtual/cross-cc (and c++/binutils)") in OE-Core changes the virtual/XXX-gcc to virtual/cross-cc (and c++/binutils) syntax. Add it to the migration manual.

---
  documentation/migration-guides/migration-5.2.rst | 29 ++++++++++++++++++++++++
  1 file changed, 29 insertions(+)
documentation/migration-guides/migration-5.2.rst +13 -0
index a60e3e9a8..b29cb2052 100644
@@ -105,6 +105,35 @@ some obscure bugs.
  Any logic based on ``BB_CURRENT_MC`` equalling to ``default`` by default should
  be changed to be equal to an empty string.
 
+Virtual toolchain provider changes
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Support was added for virtual providers on a per-recipe basis for specific
+key toolchain providers listed in ``BB_VIRTUAL_RECIPE_PROVIDERS``. As part of
+that support, the ``cross`` providers were simplified to remove the triplet
+prefix (:term:`TARGET_PREFIX`, :term:`SDK_PREFIX` and :term:`HOST_PREFIX`) and
+generalise the naming. Here are example of how references to these variables
+should be changed to use the new ``cross`` syntax::
+
+   virtual/${HOST_PREFIX}binutils -> virtual/cross-binutils
+   virtual/${TARGET_PREFIX}binutils -> virtual/cross-binutils
+

documentation/migration-guides/migration-5.2.rst some obscure bugs. · line 130

Quoted 10 lines
documentation/migration-guides/migration-5.2.rst +10 -0
+   virtual/${HOST_PREFIX}gcc -> virtual/cross-cc
+   virtual/${TARGET_PREFIX}gcc -> virtual/cross-cc
+   virtual/${SDK_PREFIX}gcc -> virtual/nativesdk-cross-cc
+
+   virtual/${HOST_PREFIX}compilerlibs -> virtual/compilerlibs
+   virtual/${TARGET_PREFIX}compilerlibs -> virtual/compilerlibs
+   virtual/nativesdk-${SDK_PREFIX}compilerlibs -> virtual/nativesdk-compilerlibs
+
+   virtual/${TARGET_PREFIX}g++ -> virtual/cross-c++
+

I am not sure this rule applies everywhere looking at the commit that makes the change? (see below for related comment)

documentation/migration-guides/migration-5.2.rst some obscure bugs. · line 136

Quoted 6 lines
documentation/migration-guides/migration-5.2.rst +6 -0
+A :term:`PREFERRED_PROVIDER` assignment should be transformed as follows::
+
+   PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}binutils -> PREFERRED_PROVIDER_virtual/cross-binutils
+   PREFERRED_PROVIDER_virtual/${SDK_PREFIX}binutils -> PREFERRED_PROVIDER_virtual/cross-binutils:class-nativesdk
+   PREFERRED_PROVIDER_virtual/${SDK_PREFIX}g++ -> PREFERRED_PROVIDER_virtual/nativesdk-cross-c++
+

I believe all PREFERRED_PROVIDER would replace TARGET_PREFIX with cross- (and rename gcc to cc, g++ to c++).

SDK_PREFIX would be replace following the same pattern as TARGET_PREFIX except that an override with :class-nativesdk should be provided. Though it seems there's now a second variable for each PREFERRED_PROVIDER which had an SDK_PREFIX, it'll also need nativesdk- prefix added to the same pattern used for TARGET_PREFIX. Except for compilerlibs which only gets the one with the nativesdk- prefix.

c.f. from 90e0a0f7f4536e1aeb311ab2b061be71b4129e4e in poky:

-PREFERRED_PROVIDER_virtual/${SDK_PREFIX}binutils ?= "binutils-crosssdk-${SDK_SYS}"

(quoted diff) +0 -3
-PREFERRED_PROVIDER_virtual/${SDK_PREFIX}gcc = "gcc-crosssdk-${SDK_SYS}"
-PREFERRED_PROVIDER_virtual/${SDK_PREFIX}g++ = "gcc-crosssdk-${SDK_SYS}"
-PREFERRED_PROVIDER_virtual/${SDK_PREFIX}compilerlibs = 

"nativesdk-gcc-runtime" +PREFERRED_PROVIDER_virtual/cross-binutils:class-nativesdk ?= "binutils-crosssdk-${SDK_SYS}" +PREFERRED_PROVIDER_virtual/cross-cc:class-nativesdk = "gcc-crosssdk-${SDK_SYS}" +PREFERRED_PROVIDER_virtual/cross-c++:class-nativesdk = "gcc-crosssdk-${SDK_SYS}"

(quoted diff) +2 -0
+
+PREFERRED_PROVIDER_virtual/nativesdk-cross-binutils ?= 

"binutils-crosssdk-${SDK_SYS}"

(quoted diff) +3 -0
+PREFERRED_PROVIDER_virtual/nativesdk-cross-cc = "gcc-crosssdk-${SDK_SYS}"
+PREFERRED_PROVIDER_virtual/nativesdk-cross-c++ = "gcc-crosssdk-${SDK_SYS}"
+PREFERRED_PROVIDER_virtual/nativesdk-compilerlibs = "nativesdk-gcc-runtime"
Quoted 4 lines

Now looking a bit more into the changes made in this commit, there isn't a simple search and replace that can be used, sometimes it's replacing a variable with one value, sometimes with another. Depends on the recipe the change is made in I guess?

I guess so. It's probably going to be different based on the recipe, but I wouldn't know how to phrase it here. I just gave some more examples to illustrate the changes. Any idea on a better way to explain this?

Antonin

Signature · 3 lines
Antonin Godard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#5 lore raw

Re: [docs] [yocto-docs][PATCH v2 2/2] migration-5.2: add virtual provider change

Hi Antonin,

Quoted 90 lines · Antonin Godard

Hi Quentin,

Quoted 87 lines · Quentin Schulz

Hi Antonin,

Quoted 32 lines · Antonin Godard via lists.yoctoproject.org

The commit 4ccc3bc8266c ("classes/recipes: Switch virtual/XXX-gcc to virtual/cross-cc (and c++/binutils)") in OE-Core changes the virtual/XXX-gcc to virtual/cross-cc (and c++/binutils) syntax. Add it to the migration manual.

---
   documentation/migration-guides/migration-5.2.rst | 29 ++++++++++++++++++++++++
   1 file changed, 29 insertions(+)
documentation/migration-guides/migration-5.2.rst +13 -0
index a60e3e9a8..b29cb2052 100644
@@ -105,6 +105,35 @@ some obscure bugs.
   Any logic based on ``BB_CURRENT_MC`` equalling to ``default`` by default should
   be changed to be equal to an empty string.
 
+Virtual toolchain provider changes
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Support was added for virtual providers on a per-recipe basis for specific
+key toolchain providers listed in ``BB_VIRTUAL_RECIPE_PROVIDERS``. As part of
+that support, the ``cross`` providers were simplified to remove the triplet
+prefix (:term:`TARGET_PREFIX`, :term:`SDK_PREFIX` and :term:`HOST_PREFIX`) and
+generalise the naming. Here are example of how references to these variables
+should be changed to use the new ``cross`` syntax::
+
+   virtual/${HOST_PREFIX}binutils -> virtual/cross-binutils
+   virtual/${TARGET_PREFIX}binutils -> virtual/cross-binutils
+

documentation/migration-guides/migration-5.2.rst some obscure bugs. · line 130

Quoted 10 lines
documentation/migration-guides/migration-5.2.rst +10 -0
+   virtual/${HOST_PREFIX}gcc -> virtual/cross-cc
+   virtual/${TARGET_PREFIX}gcc -> virtual/cross-cc
+   virtual/${SDK_PREFIX}gcc -> virtual/nativesdk-cross-cc
+
+   virtual/${HOST_PREFIX}compilerlibs -> virtual/compilerlibs
+   virtual/${TARGET_PREFIX}compilerlibs -> virtual/compilerlibs
+   virtual/nativesdk-${SDK_PREFIX}compilerlibs -> virtual/nativesdk-compilerlibs
+
+   virtual/${TARGET_PREFIX}g++ -> virtual/cross-c++
+

I am not sure this rule applies everywhere looking at the commit that makes the change? (see below for related comment)

documentation/migration-guides/migration-5.2.rst some obscure bugs. · line 136

Quoted 6 lines
documentation/migration-guides/migration-5.2.rst +6 -0
+A :term:`PREFERRED_PROVIDER` assignment should be transformed as follows::
+
+   PREFERRED_PROVIDER_virtual/${TARGET_PREFIX}binutils -> PREFERRED_PROVIDER_virtual/cross-binutils
+   PREFERRED_PROVIDER_virtual/${SDK_PREFIX}binutils -> PREFERRED_PROVIDER_virtual/cross-binutils:class-nativesdk
+   PREFERRED_PROVIDER_virtual/${SDK_PREFIX}g++ -> PREFERRED_PROVIDER_virtual/nativesdk-cross-c++
+

I believe all PREFERRED_PROVIDER would replace TARGET_PREFIX with cross- (and rename gcc to cc, g++ to c++).

SDK_PREFIX would be replace following the same pattern as TARGET_PREFIX except that an override with :class-nativesdk should be provided. Though it seems there's now a second variable for each PREFERRED_PROVIDER which had an SDK_PREFIX, it'll also need nativesdk- prefix added to the same pattern used for TARGET_PREFIX. Except for compilerlibs which only gets the one with the nativesdk- prefix.

c.f. from 90e0a0f7f4536e1aeb311ab2b061be71b4129e4e in poky:

-PREFERRED_PROVIDER_virtual/${SDK_PREFIX}binutils ?= "binutils-crosssdk-${SDK_SYS}"

(quoted diff) +0 -3
-PREFERRED_PROVIDER_virtual/${SDK_PREFIX}gcc = "gcc-crosssdk-${SDK_SYS}"
-PREFERRED_PROVIDER_virtual/${SDK_PREFIX}g++ = "gcc-crosssdk-${SDK_SYS}"
-PREFERRED_PROVIDER_virtual/${SDK_PREFIX}compilerlibs =

"nativesdk-gcc-runtime" +PREFERRED_PROVIDER_virtual/cross-binutils:class-nativesdk ?= "binutils-crosssdk-${SDK_SYS}" +PREFERRED_PROVIDER_virtual/cross-cc:class-nativesdk = "gcc-crosssdk-${SDK_SYS}" +PREFERRED_PROVIDER_virtual/cross-c++:class-nativesdk = "gcc-crosssdk-${SDK_SYS}"

(quoted diff) +2 -0
+
+PREFERRED_PROVIDER_virtual/nativesdk-cross-binutils ?=

"binutils-crosssdk-${SDK_SYS}"

(quoted diff) +3 -0
+PREFERRED_PROVIDER_virtual/nativesdk-cross-cc = "gcc-crosssdk-${SDK_SYS}"
+PREFERRED_PROVIDER_virtual/nativesdk-cross-c++ = "gcc-crosssdk-${SDK_SYS}"
+PREFERRED_PROVIDER_virtual/nativesdk-compilerlibs = "nativesdk-gcc-runtime"
Quoted 9 lines
Quoted 4 lines

Now looking a bit more into the changes made in this commit, there isn't a simple search and replace that can be used, sometimes it's replacing a variable with one value, sometimes with another. Depends on the recipe the change is made in I guess?

I guess so. It's probably going to be different based on the recipe, but I wouldn't know how to phrase it here. I just gave some more examples to illustrate the changes. Any idea on a better way to explain this?

The issue is that the example implies that the change is simple and automatic, it is not I'm afraid. For the variables that we know can be changed automatically then it's fine, I believe that's the case for PREFERRED_PROVIDER with TARGET_PREFIX. For the others, maybe stating that one replacement could be X -> Y but it depends, so rather see <link to commit> to check for yourself.

Don't have a better suggestion than that unfortunately.

Cheers,
Quentin

#6 lore raw

Re: [docs] [yocto-docs][PATCH v2 2/2] migration-5.2: add virtual provider change

Hi Quentin,

On Thu Feb 6, 2025 at 10:25 AM CET, Quentin Schulz wrote:
[...]

Quoted 15 lines
Quoted 5 lines
Quoted 5 lines
(quoted diff) +4 -0
+
+PREFERRED_PROVIDER_virtual/nativesdk-cross-cc = "gcc-crosssdk-${SDK_SYS}"
+PREFERRED_PROVIDER_virtual/nativesdk-cross-c++ = "gcc-crosssdk-${SDK_SYS}"
+PREFERRED_PROVIDER_virtual/nativesdk-compilerlibs = "nativesdk-gcc-runtime"
Quoted 9 lines
Quoted 4 lines

Now looking a bit more into the changes made in this commit, there isn't a simple search and replace that can be used, sometimes it's replacing a variable with one value, sometimes with another. Depends on the recipe the change is made in I guess?

I guess so. It's probably going to be different based on the recipe, but I wouldn't know how to phrase it here. I just gave some more examples to illustrate the changes. Any idea on a better way to explain this?

Quoted 8 lines

The issue is that the example implies that the change is simple and automatic, it is not I'm afraid. For the variables that we know can be changed automatically then it's fine, I believe that's the case for PREFERRED_PROVIDER with TARGET_PREFIX. For the others, maybe stating that one replacement could be X -> Y but it depends, so rather see <link to commit> to check for yourself.

Don't have a better suggestion than that unfortunately.

I get what you mean, thanks. I think I will rephrase this is bit, stating that those are examples, but should not be taken as a simple grep & replace. I'll also link to the commit in question.

Antonin

Signature · 3 lines
Antonin Godard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com