[OE-core] [PATCH 2/2] piglit: support build piglit without x11

Burton, Ross ross.burton at intel.com
Tue Jan 15 09:19:12 UTC 2019


On Tue, 15 Jan 2019 at 05:29, <changqing.li at windriver.com> wrote:
> +X11_DEPS = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxrender libglu', '', d)}"
> +DEPENDS = "libpng waffle libxkbcommon virtual/libgl python3-mako-native python3-numpy-native python3-six-native virtual/egl ${X11_DEPS}"

This...

> +       ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'mesa-demos', '', d)} \

...and this are basically the buildtime and runtime dependencies for
the 'opengl' packageconfig, so they should be in the
PACKAGECONFIG[opengl] line.

Also if you rename [opengl] to [x11] and then you can just use
bb.utils.filter().

Ross


More information about the Openembedded-core mailing list