All of lore.kernel.org
 help / color / mirror / Atom feed
* [yocto-docs][PATCH] migration-5.2: Add entries for virtual provider and multiconfig changes
@ 2025-01-29 10:25 Antonin Godard
  2025-01-30 16:05 ` [docs] " Quentin Schulz
  0 siblings, 1 reply; 3+ messages in thread
From: Antonin Godard @ 2025-01-29 10:25 UTC (permalink / raw)
  To: docs; +Cc: Thomas Petazzoni, Richard Purdie, Antonin Godard

Add some information to the migration guide about two important potentially
breaking changes in 5.2.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
---
Notes:
* original patch by Richard Purdie:
  https://lore.kernel.org/r/20250126111850.2609298-1-richard.purdie@linuxfoundation.org
  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.
---
 documentation/migration-guides/migration-5.2.rst | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/documentation/migration-guides/migration-5.2.rst b/documentation/migration-guides/migration-5.2.rst
index e9de6910e..245c22f28 100644
--- a/documentation/migration-guides/migration-5.2.rst
+++ b/documentation/migration-guides/migration-5.2.rst
@@ -94,6 +94,29 @@ 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.
+
+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 and generalise the naming, so for example::
+
+      virtual/${TARGET_PREFIX}-binutils -> virtual/cross-bintuils
+      virtual/${TARGET_PREFIX}-gcc -> virtual/cross-cc
+      virtual/${TARGET_PREFIX}-g++ -> virtual/cross-c++
+      virtual/${TARGET_PREFIX}-compilerlibs -> virtual/compilerlibs
+      virtual/${SDK_PREFIX}-binutils -> virtual/nativesdk-cross-binutils
+      virtual/${SDK_PREFIX}-gcc -> virtual/nativesdk-cross-cc
+
 Recipe changes
 ~~~~~~~~~~~~~~
 

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

Best regards,
-- 
Antonin Godard <antonin.godard@bootlin.com>



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-01-31 10:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-29 10:25 [yocto-docs][PATCH] migration-5.2: Add entries for virtual provider and multiconfig changes Antonin Godard
2025-01-30 16:05 ` [docs] " Quentin Schulz
2025-01-31 10:31   ` Antonin Godard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.