diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2020-10-28 22:05:42 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-10-30 13:22:49 +0000 |
commit | b6da9774f3ab9ce54869633b97c0ee7f6528f58d (patch) | |
tree | 39d373fded0c3a742a7f7b7fedd7118f98381095 /meta/recipes-graphics/mesa/mesa-gl_20.2.1.bb | |
parent | afbdf052cb36c4d9d207868c793dfff34766cf86 (diff) | |
download | poky-b6da9774f3ab9ce54869633b97c0ee7f6528f58d.tar.gz |
mesa: update 20.1.8 -> 20.2.1
Build tweaks:
- drop separate dri option and the patch that adds it; just setting -Ddri-drivers='' is enough
- strip leading/trailing commas from drivers' lists, as upstream no longer allows blank entries if the list
is not empty (e.g. -Ddri-drivers=,driver1,driver2 is now producing an error).
- drop the long-obsolete llvm 3.3/3.2 logic
License-Update: reformatted into rst
(From OE-Core rev: 8682024ef029241c75e224174fd0b93835f88df3)
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa-gl_20.2.1.bb')
-rw-r--r-- | meta/recipes-graphics/mesa/mesa-gl_20.2.1.bb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-gl_20.2.1.bb b/meta/recipes-graphics/mesa/mesa-gl_20.2.1.bb new file mode 100644 index 0000000000..e50782be1c --- /dev/null +++ b/meta/recipes-graphics/mesa/mesa-gl_20.2.1.bb | |||
@@ -0,0 +1,15 @@ | |||
1 | require mesa.inc | ||
2 | |||
3 | SUMMARY += " (OpenGL only, no EGL/GLES)" | ||
4 | |||
5 | PROVIDES = "virtual/libgl virtual/mesa" | ||
6 | |||
7 | S = "${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. | ||
11 | PACKAGECONFIG ??= "opengl dri ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa', d)}" | ||
12 | PACKAGECONFIG_class-target = "opengl dri ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa', d)}" | ||
13 | |||
14 | # When NOT using X11, we need to make sure we have swrast available. | ||
15 | DRIDRIVERS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', ',swrast', d)}" | ||