Hi all,
[...]
> What does that look like practically? Something like this I think:
>
> DISTRO_FEATURES_BASELINE = " \
> acl alsa bluetooth debuginfod ext2 ipv4 ipv6 pcmcia usbgadget \
> usbhost wifi xattr nfs zeroconf pci 3g nfc x11 vfat seccomp \
> pulseaudio gobject-introspection-data ldconfig \
> "
>
> DISTRO_FEATURES_DEFAULT = "${@filter_default_features('DISTRO_FEATURES',
> d)}" DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT}"
>
> DISTRO_FEATURES_OPTOUT ?= "${DISTRO_FEATURES_BACKFILL_CONSIDERED}"
>
> def filter_default_features(varname, d):
> baseline_features = (d.getVar(varname + "_BASELINE") or "").split()
> optout_features = (d.getVar(varname + "_OPTOUT") or "").split()
>
> return [feature for feature in baseline_features \
> if feature not in optout_features]
>
I like the clearer terminology - +1 .
Best,
Jan-Simon
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#231998):
https://lists.openembedded.org/g/openembedded-core/message/231998
Mute This Topic: https://lists.openembedded.org/mt/118009865/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-