On Fri, May 11, 2018 at 12:20 PM, Martin Jansa <martin.ja...@gmail.com> wrote: > * enable x11 in native builds > > Signed-off-by: Martin Jansa <martin.ja...@gmail.com>
Reviewed-by: Alistair Francis <alistair.fran...@wdc.com> Alistair > --- > meta/recipes-graphics/libsdl2/libsdl2_2.0.8.bb | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/meta/recipes-graphics/libsdl2/libsdl2_2.0.8.bb > b/meta/recipes-graphics/libsdl2/libsdl2_2.0.8.bb > index c0cf70d7fd..c37f669321 100644 > --- a/meta/recipes-graphics/libsdl2/libsdl2_2.0.8.bb > +++ b/meta/recipes-graphics/libsdl2/libsdl2_2.0.8.bb > @@ -37,6 +37,8 @@ EXTRA_OECONF = "--disable-oss --disable-esd --disable-arts \ > # and BSP layers to pick either (desktop) opengl, gles2, or no GL > PACKAGECONFIG_GL ?= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl', d)}" > > +PACKAGECONFIG_class-native = "x11" > +PACKAGECONFIG_class-nativesdk = "${@bb.utils.filter('DISTRO_FEATURES', > 'x11', d)}" > PACKAGECONFIG ??= " \ > ${PACKAGECONFIG_GL} \ > ${@bb.utils.filter('DISTRO_FEATURES', 'alsa directfb pulseaudio x11', > d)} \ > @@ -63,3 +65,5 @@ do_configure_prepend() { > } > > FILES_${PN}-dev += "${libdir}/cmake" > + > +BBCLASSEXTEND = "native nativesdk" > -- > 2.17.0 > > -- > _______________________________________________ > Openembedded-core mailing list > Openembedded-core@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-core -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core