diff options
| author | Alexander Kanavin <alex.kanavin@gmail.com> | 2021-03-19 09:43:52 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-03-20 18:54:56 +0000 |
| commit | 99438a57a9d90ff2b172589b691d2704be178788 (patch) | |
| tree | fee242580f282d64b95f428622f0b6f8241fde0d /meta/recipes-graphics/mesa/mesa.inc | |
| parent | 12aae17e43db8daf6125efbbd5f245a4e248cfaf (diff) | |
| download | poky-99438a57a9d90ff2b172589b691d2704be178788.tar.gz | |
mesa: update 20.3.4 -> 21.0.0
0001-anv-fix-a-build-race-between-generating-a-header-and.patch
merged upstream.
osmesa is now a simple boolean option.
Swrast has been removed from dri drivers, so as we need at least one
driver to enable dri in native/nativesdk, replace it with nouveau
(which does not take long to build).
(From OE-Core rev: e4e4cc57a0a949400c557073af0cf78f977bd02d)
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.inc')
| -rw-r--r-- | meta/recipes-graphics/mesa/mesa.inc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index 9f8ec112cf..e9b72ce063 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc | |||
| @@ -19,10 +19,9 @@ SRC_URI = "https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \ | |||
| 19 | file://0002-meson.build-make-TLS-ELF-optional.patch \ | 19 | file://0002-meson.build-make-TLS-ELF-optional.patch \ |
| 20 | file://0001-meson-misdetects-64bit-atomics-on-mips-clang.patch \ | 20 | file://0001-meson-misdetects-64bit-atomics-on-mips-clang.patch \ |
| 21 | file://0001-futex.h-Define-__NR_futex-if-it-does-not-exist.patch \ | 21 | file://0001-futex.h-Define-__NR_futex-if-it-does-not-exist.patch \ |
| 22 | file://0001-anv-fix-a-build-race-between-generating-a-header-and.patch \ | ||
| 23 | " | 22 | " |
| 24 | 23 | ||
| 25 | SRC_URI[sha256sum] = "dc21a987ec1ff45b278fe4b1419b1719f1968debbb80221480e44180849b4084" | 24 | SRC_URI[sha256sum] = "e6204e98e6a8d77cf9dc5d34f99dd8e3ef7144f3601c808ca0dd26ba522e0d84" |
| 26 | 25 | ||
| 27 | UPSTREAM_CHECK_GITTAGREGEX = "mesa-(?P<pver>\d+(\.\d+)+)" | 26 | UPSTREAM_CHECK_GITTAGREGEX = "mesa-(?P<pver>\d+(\.\d+)+)" |
| 28 | 27 | ||
| @@ -103,8 +102,8 @@ PACKAGECONFIG[elf-tls] = "-Delf-tls=true, -Delf-tls=false" | |||
| 103 | PACKAGECONFIG[xvmc] = "-Dgallium-xvmc=enabled,-Dgallium-xvmc=disabled,libxvmc" | 102 | PACKAGECONFIG[xvmc] = "-Dgallium-xvmc=enabled,-Dgallium-xvmc=disabled,libxvmc" |
| 104 | PACKAGECONFIG[wayland] = ",,wayland-native wayland libdrm wayland-protocols" | 103 | PACKAGECONFIG[wayland] = ",,wayland-native wayland libdrm wayland-protocols" |
| 105 | 104 | ||
| 106 | DRIDRIVERS_class-native = "swrast" | 105 | DRIDRIVERS_class-native = "nouveau" |
| 107 | DRIDRIVERS_class-nativesdk = "swrast" | 106 | DRIDRIVERS_class-nativesdk = "nouveau" |
| 108 | DRIDRIVERS_append_x86_class-target = ",r100,r200,nouveau,i965,i915" | 107 | DRIDRIVERS_append_x86_class-target = ",r100,r200,nouveau,i965,i915" |
| 109 | DRIDRIVERS_append_x86-64_class-target = ",r100,r200,nouveau,i965,i915" | 108 | DRIDRIVERS_append_x86-64_class-target = ",r100,r200,nouveau,i965,i915" |
| 110 | # "dri" requires "opengl" | 109 | # "dri" requires "opengl" |
| @@ -168,8 +167,7 @@ GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'lima', ',lima', ' | |||
| 168 | PACKAGECONFIG[panfrost] = "" | 167 | PACKAGECONFIG[panfrost] = "" |
| 169 | GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'panfrost', ',panfrost', '', d)}" | 168 | GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'panfrost', ',panfrost', '', d)}" |
| 170 | 169 | ||
| 171 | OSMESA = "${@bb.utils.contains('PACKAGECONFIG', 'gallium', 'gallium', 'classic', d)}" | 170 | PACKAGECONFIG[osmesa] = "-Dosmesa=true,-Dosmesa=false" |
| 172 | PACKAGECONFIG[osmesa] = "-Dosmesa=${OSMESA},-Dosmesa=none" | ||
| 173 | 171 | ||
| 174 | PACKAGECONFIG[unwind] = "-Dlibunwind=enabled,-Dlibunwind=disabled,libunwind" | 172 | PACKAGECONFIG[unwind] = "-Dlibunwind=enabled,-Dlibunwind=disabled,libunwind" |
| 175 | 173 | ||
