On Tue, 15 Jan 2019 at 05:29, <changqing...@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 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core