These changes should be applied *after* the corresponding changes are applied in meta-yocto [1].
[1]: https://lore.kernel.org/poky/[email protected]/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
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#234122): https://lists.openembedded.org/g/openembedded-core/message/234122 Mute This Topic: https://lists.openembedded.org/mt/118548049/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
