blob: f2bc8f6b5b6c2b5d1fd5d45699616b6403e0c874 [file] [log] [blame]
Andrew Geissler9aee5002022-03-30 16:27:02 +00001require mesa.inc
2
3SUMMARY += " (OpenGL only, no EGL/GLES)"
4
5PROVIDES = "virtual/libgl virtual/mesa"
6
7S = "${WORKDIR}/mesa-${PV}"
8
9# At least one DRI rendering engine is required to build mesa.
10# When no X11 is available, use osmesa for the rendering engine.
11PACKAGECONFIG ??= "opengl ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa gallium', d)}"
12PACKAGECONFIG:class-target = "opengl ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa gallium', d)}"
13