[OE-core] [PATCH 3/6] vulkan-tools: add recipe

Burton, Ross ross.burton at intel.com
Mon Jul 8 12:06:33 UTC 2019


On Mon, 8 Jul 2019 at 08:36, Anuj Mittal <anuj.mittal at intel.com> wrote:
> +PACKAGECONFIG ??= "\
> +                   ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', '' ,d)} \
> +                   ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '' ,d)} \

bb.utils.filter() is a neater way of expressing this:

PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11', d)}"

Ross


More information about the Openembedded-core mailing list