From baa014ae15bd0447e089511c1ce8f8b92d8e181c Mon Sep 17 00:00:00 2001 From: "Robert P. J. Day" Date: Tue, 9 Jun 2026 10:08:36 -0400 Subject: [PATCH] dev-manual: drop "PREFERRED_VERSION" from x86-base.inc snippet The machine include file "x86-base.inc" no longer includes the line setting the PREFERRED VERSION -- that setting was removed in commit 298fa078fab58b64246376ffd70ad6a0c7589876 on Oct 1, 2023: qemux86/qemuarm: Drop kernel version overrides Drop the version overrides for the kernel for the x86 and arm machines so we can go back to following the distro versions. The reasons for these versions is mostly historical at this point as the issues were resolved. (From yocto-docs rev: 5185c770c30f1041ae1f14290e75f5cc8cfe690d) Signed-off-by: Robert P. J. Day Signed-off-by: Antonin Godard (cherry picked from commit a70ce32d8e314afa833079e17757dc9b19590c56) Signed-off-by: Antonin Godard Signed-off-by: Paul Barker --- documentation/dev-manual/new-recipe.rst | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/documentation/dev-manual/new-recipe.rst b/documentation/dev-manual/new-recipe.rst index 5e8aa97af1..8695684e48 100644 --- a/documentation/dev-manual/new-recipe.rst +++ b/documentation/dev-manual/new-recipe.rst @@ -976,11 +976,10 @@ kernel recipe you want by using the :term:`PREFERRED_PROVIDER` variable. As an example, consider the :yocto_git:`x86-base.inc ` include file, which is a machine (i.e. :term:`MACHINE`) configuration file. This include file is the -reason all x86-based machines use the ``linux-yocto`` kernel. Here are the -relevant lines from the include file:: +reason all x86-based machines use the ``linux-yocto`` kernel. Here is the +relevant line from that include file:: PREFERRED_PROVIDER_virtual/kernel ??= "linux-yocto" - PREFERRED_VERSION_linux-yocto ??= "4.15%" When you use a virtual provider, you do not have to "hard code" a recipe name as a build dependency. You can use the