mirror of
https://git.yoctoproject.org/poky
synced 2026-02-20 08:29:42 +01:00
Upgrade mesa and mesa-gl recipes to version 20.3.2. (From OE-Core rev: 5ab325c18640dd6d17ac4592f3ba3e484a5bdb37) Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 lines
625 B
BlitzBasic
16 lines
625 B
BlitzBasic
require mesa.inc
|
|
|
|
SUMMARY += " (OpenGL only, no EGL/GLES)"
|
|
|
|
PROVIDES = "virtual/libgl virtual/mesa"
|
|
|
|
S = "${WORKDIR}/mesa-${PV}"
|
|
|
|
# At least one DRI rendering engine is required to build mesa.
|
|
# When no X11 is available, use osmesa for the rendering engine.
|
|
PACKAGECONFIG ??= "opengl dri ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa', d)}"
|
|
PACKAGECONFIG_class-target = "opengl dri ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa', d)}"
|
|
|
|
# When NOT using X11, we need to make sure we have swrast available.
|
|
DRIDRIVERS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', ',swrast', d)}"
|