public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Support opt-out of any default machine and distro features
@ 2026-03-28  9:48 Paul Barker
  2026-03-28  9:48 ` [PATCH 1/4] oelib: utils: Support filtering default features Paul Barker
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Paul Barker @ 2026-03-28  9:48 UTC (permalink / raw)
  To: openembedded-core; +Cc: Paul Barker

These changes should be applied *after* the corresponding changes are
applied in meta-yocto [1].

[1]: https://lore.kernel.org/poky/20260328-default-features-v1-0-549331ccfab0@pbarker.dev/T/

These changes implement the third proposal from my email on "Improving
DISTRO_FEATURES backfill & opt-out" [2]:

   Merge the current contents of `DISTRO_FEATURES_BACKFILL` into
   `DISTRO_FEATURES_DEFAULT`. This variable will be filtered to disable
   any items listed in `DISTRO_FEATURES_OPTOUT` before use, efficiently
   and without the use of `:remove`. Deprecate
   `DISTRO_FEATURES_BACKFILL` and `DISTRO_FEATURES_BACKFILL_CONSIDERED`,
   issuing warnings if either is used.

[2]: https://lists.openembedded.org/g/openembedded-architecture/topic/improving_distro_features/118009864

DISTRO_FEATURES_DEFAULT is now set from DISTRO_FEATURES_DEFAULT_RAW,
excluding entries listed in DISTRO_FEATURES_OPTED_OUT. _OPTED_OUT was
chosen over _OPTOUT for improved clarity.

This series doesn't include issuing warnings if DISTRO_FEATURES_BACKFILL
or DISTRO_FEATURES_BACKFILL_CONSIDERED is set, that can be added as a
follow up if these changes are accepted.

The change is also carried through to MACHINE_FEATURES to keep things
consistent.

---
Paul Barker (4):
      oelib: utils: Support filtering default features
      meta: Support opting out of any distro features
      meta: Support opting out of any machine features
      lib: oe: Drop backfill support

 meta/classes-global/base.bbclass                   |  7 +--
 meta/classes-recipe/crosssdk.bbclass               |  7 ++-
 meta/classes-recipe/native.bbclass                 |  7 ++-
 meta/classes-recipe/nativesdk.bbclass              |  8 ++--
 meta/conf/bitbake.conf                             |  7 ++-
 meta/conf/distro/include/default-distrovars.inc    | 15 +++---
 meta/conf/distro/include/tclibc-musl.inc           |  2 +-
 meta/conf/distro/include/tclibc-newlib.inc         |  2 +-
 meta/conf/distro/include/tclibc-picolibc.inc       |  2 +-
 meta/conf/documentation.conf                       | 14 +++---
 .../machine/include/loongarch/qemuloongarch.inc    |  3 +-
 meta/conf/machine/include/mips/arch-mips.inc       |  2 +-
 meta/conf/machine/include/powerpc/tune-power5.inc  |  2 +-
 meta/conf/machine/include/powerpc/tune-power6.inc  |  2 +-
 meta/conf/machine/include/powerpc/tune-power7.inc  |  2 +-
 .../conf/machine/include/powerpc/tune-ppce5500.inc |  2 +-
 .../conf/machine/include/powerpc/tune-ppce6500.inc |  2 +-
 meta/conf/machine/include/qemu.inc                 |  4 +-
 meta/conf/machine/include/riscv/qemuriscv.inc      |  2 +-
 meta/conf/machine/include/x86/arch-x86.inc         |  2 +-
 meta/conf/machine/include/x86/x86-base.inc         |  5 +-
 meta/conf/machine/qemux86-64.conf                  |  2 +-
 meta/conf/machine/qemux86.conf                     |  2 +-
 meta/lib/oe/utils.py                               | 54 ++++++++++++++--------
 meta/lib/oeqa/selftest/cases/oelib/utils.py        | 31 ++++++++++++-
 25 files changed, 118 insertions(+), 70 deletions(-)
---
base-commit: b50d6debf7baa555fbfb3521c4f952675bba2d37
change-id: 20260328-default-features-d7f43efcfb63

Best regards,
--  
Paul Barker



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

end of thread, other threads:[~2026-03-29  8:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-28  9:48 [PATCH 0/4] Support opt-out of any default machine and distro features Paul Barker
2026-03-28  9:48 ` [PATCH 1/4] oelib: utils: Support filtering default features Paul Barker
2026-03-28  9:49 ` [PATCH 2/4] meta: Support opting out of any distro features Paul Barker
2026-03-28  9:49 ` [PATCH 3/4] meta: Support opting out of any machine features Paul Barker
2026-03-28  9:49 ` [PATCH 4/4] lib: oe: Drop backfill support Paul Barker
2026-03-29  8:41 ` [OE-core] [PATCH 0/4] Support opt-out of any default machine and distro features Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox