mirror of
https://git.yoctoproject.org/poky
synced 2026-02-13 20:23:04 +01:00
This allows automated updates of the recipe together with mesa-gl variant, and avoids having to check that update submissions do include mesa-gl file rename. (From OE-Core rev: f5cfb3e23603cefb2f3f6bfe776afaedefd10808) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
16 lines
519 B
BlitzBasic
16 lines
519 B
BlitzBasic
require mesa.inc
|
|
|
|
SUMMARY += " (OpenGL only, no EGL/GLES)"
|
|
|
|
PROVIDES = "virtual/libgl virtual/mesa"
|
|
|
|
S = "${WORKDIR}/mesa-${PV}"
|
|
|
|
TARGET_CFLAGS = "-I${STAGING_INCDIR}/drm"
|
|
|
|
# At least one DRI rendering engine is required to build mesa.
|
|
# When no X11 is available, use osmesa for the rendering engine.
|
|
PACKAGECONFIG ??= "opengl gallium ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa', d)}"
|
|
PACKAGECONFIG:class-target = "opengl gallium ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa', d)}"
|
|
|