xref: /OK3568_Linux_fs/yocto/poky/meta/recipes-graphics/mesa/mesa-gl_22.0.3.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunrequire mesa.inc
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunSUMMARY += " (OpenGL only, no EGL/GLES)"
4*4882a593Smuzhiyun
5*4882a593SmuzhiyunPROVIDES = "virtual/libgl virtual/mesa"
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunS = "${WORKDIR}/mesa-${PV}"
8*4882a593Smuzhiyun
9*4882a593Smuzhiyun# At least one DRI rendering engine is required to build mesa.
10*4882a593Smuzhiyun# When no X11 is available, use osmesa for the rendering engine.
11*4882a593SmuzhiyunPACKAGECONFIG ??= "opengl ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa gallium', d)}"
12*4882a593SmuzhiyunPACKAGECONFIG:class-target = "opengl ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa gallium', d)}"
13*4882a593Smuzhiyun
14