From: Martin Jansa Date: Wed, 12 Jun 2013 23:19:55 +0000 (+0200) Subject: mesa: use PACKAGECONFIG instead of DISTRO_FEATURES to define EGL_PLATFORMS X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~37022 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50dcfeab2b18422f3ab067893a0b68b17706d6e2;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git mesa: use PACKAGECONFIG instead of DISTRO_FEATURES to define EGL_PLATFORMS * it makes it easier to change PACKAGECONFIG in .bbappend and get consistent EGL_PLATFORMS Signed-off-by: Martin Jansa Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index ec303018405..cc117531c75 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc @@ -42,8 +42,8 @@ EXTRA_OECONF += "--enable-gbm" PACKAGECONFIG[gles] = "--enable-gles1 --enable-gles2, --disable-gles1 --disable-gles2" EGL_PLATFORMS = "drm" -EGL_PLATFORMS .="${@base_contains('DISTRO_FEATURES', 'x11', ',x11', '', d)}" -EGL_PLATFORMS .="${@base_contains('DISTRO_FEATURES', 'wayland', ',wayland', '', d)}" +EGL_PLATFORMS .="${@base_contains('PACKAGECONFIG', 'x11', ',x11', '', d)}" +EGL_PLATFORMS .="${@base_contains('PACKAGECONFIG', 'wayland', ',wayland', '', d)}" PACKAGECONFIG[egl] = "--enable-egl --with-egl-platforms=${EGL_PLATFORMS}, --disable-egl" # Multiple virtual/gl providers being built breaks staging