* [PATCH 0/3] Adapt to new default feature handling
@ 2026-03-28 9:46 Paul Barker
2026-03-28 9:46 ` [PATCH 1/3] genericx86-common: Use append with MACHINE_FEATURES Paul Barker
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Paul Barker @ 2026-03-28 9:46 UTC (permalink / raw)
To: poky; +Cc: Paul Barker
These changes adapt meta-yocto-bsp to the upcoming changes in how
default distro and machine features are set. The intention is that this
series is applied to meta-yocto *before* changes to openembeded-core,
and the changes should be safe to apply in that order.
---
Paul Barker (3):
genericx86-common: Use append with MACHINE_FEATURES
genericarm64: Use MACHINE_FEATURES_DEFAULT
beaglebone-yocto: Use MACHINE_FEATURES_DEFAULT
meta-yocto-bsp/conf/machine/beaglebone-yocto.conf | 2 +-
meta-yocto-bsp/conf/machine/genericarm64.conf | 5 ++++-
meta-yocto-bsp/conf/machine/include/genericx86-common.inc | 2 +-
3 files changed, 6 insertions(+), 3 deletions(-)
---
base-commit: ac300baea7314ea3c80f2330b2a993f729f32150
change-id: 20260328-default-features-e3c7a5493fda
Best regards,
--
Paul Barker
^ permalink raw reply [flat|nested] 5+ messages in thread* [PATCH 1/3] genericx86-common: Use append with MACHINE_FEATURES
2026-03-28 9:46 [PATCH 0/3] Adapt to new default feature handling Paul Barker
@ 2026-03-28 9:46 ` Paul Barker
2026-03-28 9:46 ` [PATCH 2/3] genericarm64: Use MACHINE_FEATURES_DEFAULT Paul Barker
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Paul Barker @ 2026-03-28 9:46 UTC (permalink / raw)
To: poky; +Cc: Paul Barker
We should modify MACHINE_FEATURES using :append instead of += to
preserve the weakly assigned defaults.
Signed-off-by: Paul Barker <paul@pbarker.dev>
---
meta-yocto-bsp/conf/machine/include/genericx86-common.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-yocto-bsp/conf/machine/include/genericx86-common.inc b/meta-yocto-bsp/conf/machine/include/genericx86-common.inc
index 95d9e175fc4c..e10b69ca75cd 100644
--- a/meta-yocto-bsp/conf/machine/include/genericx86-common.inc
+++ b/meta-yocto-bsp/conf/machine/include/genericx86-common.inc
@@ -1,6 +1,6 @@
include conf/machine/include/x86/x86-base.inc
require conf/machine/include/x86/qemuboot-x86.inc
-MACHINE_FEATURES += "wifi efi pcbios"
+MACHINE_FEATURES:append = "wifi efi pcbios"
PREFERRED_VERSION_linux-yocto ?= "6.18%"
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
--
2.43.0
^ permalink raw reply related [flat|nested] 5+ messages in thread* [PATCH 2/3] genericarm64: Use MACHINE_FEATURES_DEFAULT
2026-03-28 9:46 [PATCH 0/3] Adapt to new default feature handling Paul Barker
2026-03-28 9:46 ` [PATCH 1/3] genericx86-common: Use append with MACHINE_FEATURES Paul Barker
@ 2026-03-28 9:46 ` Paul Barker
2026-03-28 9:46 ` [PATCH 3/3] beaglebone-yocto: " Paul Barker
2026-03-31 19:31 ` [poky] [PATCH 0/3] Adapt to new default feature handling Paul Barker
3 siblings, 0 replies; 5+ messages in thread
From: Paul Barker @ 2026-03-28 9:46 UTC (permalink / raw)
To: poky; +Cc: Paul Barker
In openembedded-core, MACHINE_FEATURES_BACKFILL will be replaced to
allow opting out of any default MACHINE_FEATURES. To adapt to this, we
need to use MACHINE_FEATURES_DEFAULT to pick up the features that were
previously added via backfill.
We can also drop rtc and qemu-usermode from our list as they are
included in the backfill list (before the change in openembedded-core)
and the new defaults (after the change).
Signed-off-by: Paul Barker <paul@pbarker.dev>
---
meta-yocto-bsp/conf/machine/genericarm64.conf | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/meta-yocto-bsp/conf/machine/genericarm64.conf b/meta-yocto-bsp/conf/machine/genericarm64.conf
index 2b1ce4bdd02b..02a2219ce5b5 100644
--- a/meta-yocto-bsp/conf/machine/genericarm64.conf
+++ b/meta-yocto-bsp/conf/machine/genericarm64.conf
@@ -8,7 +8,10 @@ require conf/machine/include/arm/arch-armv8a.inc
# Arm Base System Architecture says v8.0+ is allowed, but FEAT_CRC32 is required
DEFAULTTUNE = "armv8a-crc"
-MACHINE_FEATURES = "acpi alsa bluetooth efi keyboard pci qemu-usermode rtc screen usbhost vfat wifi"
+MACHINE_FEATURES = " \
+ ${MACHINE_FEATURES_DEFAULT} \
+ acpi alsa bluetooth efi keyboard pci screen usbhost vfat wifi \
+ "
KERNEL_IMAGETYPE = "Image"
PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
--
2.43.0
^ permalink raw reply related [flat|nested] 5+ messages in thread* [PATCH 3/3] beaglebone-yocto: Use MACHINE_FEATURES_DEFAULT
2026-03-28 9:46 [PATCH 0/3] Adapt to new default feature handling Paul Barker
2026-03-28 9:46 ` [PATCH 1/3] genericx86-common: Use append with MACHINE_FEATURES Paul Barker
2026-03-28 9:46 ` [PATCH 2/3] genericarm64: Use MACHINE_FEATURES_DEFAULT Paul Barker
@ 2026-03-28 9:46 ` Paul Barker
2026-03-31 19:31 ` [poky] [PATCH 0/3] Adapt to new default feature handling Paul Barker
3 siblings, 0 replies; 5+ messages in thread
From: Paul Barker @ 2026-03-28 9:46 UTC (permalink / raw)
To: poky; +Cc: Paul Barker
In openembedded-core, MACHINE_FEATURES_BACKFILL will be replaced to
allow opting out of any default MACHINE_FEATURES. To adapt to this, we
need to use MACHINE_FEATURES_DEFAULT to pick up the features that were
previously added via backfill.
Signed-off-by: Paul Barker <paul@pbarker.dev>
---
meta-yocto-bsp/conf/machine/beaglebone-yocto.conf | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf b/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf
index b76edffa8fa3..713813a405f5 100644
--- a/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf
+++ b/meta-yocto-bsp/conf/machine/beaglebone-yocto.conf
@@ -32,7 +32,7 @@ SPL_BINARY = "MLO"
UBOOT_SUFFIX = "img"
UBOOT_MACHINE = "am335x_evm_defconfig"
-MACHINE_FEATURES = "usbgadget usbhost vfat alsa"
+MACHINE_FEATURES = "${MACHINE_FEATURES_DEFAULT} usbgadget usbhost vfat alsa"
IMAGE_BOOT_FILES ?= "u-boot.${UBOOT_SUFFIX} ${SPL_BINARY} ${KERNEL_IMAGETYPE} ${DTB_FILES}"
--
2.43.0
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [poky] [PATCH 0/3] Adapt to new default feature handling
2026-03-28 9:46 [PATCH 0/3] Adapt to new default feature handling Paul Barker
` (2 preceding siblings ...)
2026-03-28 9:46 ` [PATCH 3/3] beaglebone-yocto: " Paul Barker
@ 2026-03-31 19:31 ` Paul Barker
3 siblings, 0 replies; 5+ messages in thread
From: Paul Barker @ 2026-03-31 19:31 UTC (permalink / raw)
To: poky
[-- Attachment #1: Type: text/plain, Size: 815 bytes --]
On Sat, 2026-03-28 at 09:46 +0000, Paul Barker wrote:
> These changes adapt meta-yocto-bsp to the upcoming changes in how
> default distro and machine features are set. The intention is that this
> series is applied to meta-yocto *before* changes to openembeded-core,
> and the changes should be safe to apply in that order.
>
> ---
> Paul Barker (3):
> genericx86-common: Use append with MACHINE_FEATURES
> genericarm64: Use MACHINE_FEATURES_DEFAULT
> beaglebone-yocto: Use MACHINE_FEATURES_DEFAULT
Please drop these, they should no longer be needed with v2 of the
openembeded-core patches to support opt-out of any default machine and
distro features [1].
[1]: https://patch.msgid.link/20260331-default-features-v2-0-f73b43d8bd57@pbarker.dev
Thanks,
--
Paul Barker
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 252 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-03-31 19:31 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-28 9:46 [PATCH 0/3] Adapt to new default feature handling Paul Barker
2026-03-28 9:46 ` [PATCH 1/3] genericx86-common: Use append with MACHINE_FEATURES Paul Barker
2026-03-28 9:46 ` [PATCH 2/3] genericarm64: Use MACHINE_FEATURES_DEFAULT Paul Barker
2026-03-28 9:46 ` [PATCH 3/3] beaglebone-yocto: " Paul Barker
2026-03-31 19:31 ` [poky] [PATCH 0/3] Adapt to new default feature handling Paul Barker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox