public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Paul Barker <paul@pbarker.dev>
To: openembedded-core@lists.openembedded.org
Cc: Paul Barker <paul@pbarker.dev>
Subject: [PATCH 0/4] Support opt-out of any default machine and distro features
Date: Sat, 28 Mar 2026 09:48:58 +0000	[thread overview]
Message-ID: <20260328-default-features-v1-0-90790864d734@pbarker.dev> (raw)

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



             reply	other threads:[~2026-03-28  9:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-28  9:48 Paul Barker [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260328-default-features-v1-0-90790864d734@pbarker.dev \
    --to=paul@pbarker.dev \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox