Mesa doesn't _require_ either of these features of the distribution,
it (conditionally) _provides_ them.

This has a desirable side-effect of enabling a build of mesa that
supports only OpenGL ES and EGL, without having the rest of the
distribution think that full OpenGL is available.

Without this, a distribution can't support different machines with
(non-mesa) OpenGL ES/EGL-only drivers alongside mesa drivers, even
when the distribution only needs OpenGL ES/EGL.

(Note that currently mesa internally requires OpenGL support to be
built in order for OpenGL ES support to be built, but this is a
detail internal to mesa that should not be exposed to the wider
build)

Signed-off-by: Ray Smith <raymsmit...@gmail.com>
---
 meta/recipes-graphics/mesa/mesa.inc | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/meta/recipes-graphics/mesa/mesa.inc 
b/meta/recipes-graphics/mesa/mesa.inc
index cb075a8b89..bdb978de95 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -44,12 +44,10 @@ PROVIDES = " \
     virtual/mesa \
     "
 
-inherit meson pkgconfig python3native gettext features_check
+inherit meson pkgconfig python3native gettext
 
 BBCLASSEXTEND = "native nativesdk"
 
-ANY_OF_DISTRO_FEATURES_class-target = "opengl vulkan"
-
 PLATFORMS ??= "${@bb.utils.filter('PACKAGECONFIG', 'x11 wayland', d)}"
 
 export YOCTO_ALTERNATE_EXE_PATH = 
"${STAGING_LIBDIR}/llvm${MESA_LLVM_RELEASE}/llvm-config"
-- 
2.20.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#147924): 
https://lists.openembedded.org/g/openembedded-core/message/147924
Mute This Topic: https://lists.openembedded.org/mt/80529198/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to