diff options
-rw-r--r-- | meta/recipes-graphics/mesa/mesa-gl_21.0.0.bb | 9 | ||||
-rw-r--r-- | meta/recipes-graphics/mesa/mesa.inc | 4 | ||||
-rw-r--r-- | meta/recipes-graphics/mesa/mesa_21.0.0.bb | 4 |
3 files changed, 9 insertions, 8 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-gl_21.0.0.bb b/meta/recipes-graphics/mesa/mesa-gl_21.0.0.bb index e50782be1c..dff79f0be0 100644 --- a/meta/recipes-graphics/mesa/mesa-gl_21.0.0.bb +++ b/meta/recipes-graphics/mesa/mesa-gl_21.0.0.bb | |||
@@ -8,8 +8,9 @@ S = "${WORKDIR}/mesa-${PV}" | |||
8 | 8 | ||
9 | # At least one DRI rendering engine is required to build mesa. | 9 | # At least one DRI rendering engine is required to build mesa. |
10 | # When no X11 is available, use osmesa for the rendering engine. | 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)}" | 11 | PACKAGECONFIG ??= "opengl dri ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'osmesa gallium', d)}" |
12 | PACKAGECONFIG_class-target = "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 gallium', d)}" |
13 | 13 | ||
14 | # When NOT using X11, we need to make sure we have swrast available. | 14 | # 21.0.0 version fails to build when any driver is enabled in DRIDRIVERS |
15 | DRIDRIVERS_append = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', ',swrast', d)}" | 15 | # ./mesa-21.0.0/meson.build:519:4: ERROR: Problem encountered: building dri drivers require at least one windowing system |
16 | DRIDRIVERS ?= "" | ||
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index e9b72ce063..67b0835d9f 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc | |||
@@ -102,10 +102,6 @@ PACKAGECONFIG[elf-tls] = "-Delf-tls=true, -Delf-tls=false" | |||
102 | PACKAGECONFIG[xvmc] = "-Dgallium-xvmc=enabled,-Dgallium-xvmc=disabled,libxvmc" | 102 | PACKAGECONFIG[xvmc] = "-Dgallium-xvmc=enabled,-Dgallium-xvmc=disabled,libxvmc" |
103 | PACKAGECONFIG[wayland] = ",,wayland-native wayland libdrm wayland-protocols" | 103 | PACKAGECONFIG[wayland] = ",,wayland-native wayland libdrm wayland-protocols" |
104 | 104 | ||
105 | DRIDRIVERS_class-native = "nouveau" | ||
106 | DRIDRIVERS_class-nativesdk = "nouveau" | ||
107 | DRIDRIVERS_append_x86_class-target = ",r100,r200,nouveau,i965,i915" | ||
108 | DRIDRIVERS_append_x86-64_class-target = ",r100,r200,nouveau,i965,i915" | ||
109 | # "dri" requires "opengl" | 105 | # "dri" requires "opengl" |
110 | PACKAGECONFIG[dri] = "-Ddri-drivers=${@strip_comma('${DRIDRIVERS}')}, -Ddri-drivers='', xorgproto libdrm" | 106 | PACKAGECONFIG[dri] = "-Ddri-drivers=${@strip_comma('${DRIDRIVERS}')}, -Ddri-drivers='', xorgproto libdrm" |
111 | PACKAGECONFIG[dri3] = "-Ddri3=enabled, -Ddri3=disabled, xorgproto libxshmfence" | 107 | PACKAGECONFIG[dri3] = "-Ddri3=enabled, -Ddri3=disabled, xorgproto libxshmfence" |
diff --git a/meta/recipes-graphics/mesa/mesa_21.0.0.bb b/meta/recipes-graphics/mesa/mesa_21.0.0.bb index 96e8aa38d6..d578c75e39 100644 --- a/meta/recipes-graphics/mesa/mesa_21.0.0.bb +++ b/meta/recipes-graphics/mesa/mesa_21.0.0.bb | |||
@@ -1,2 +1,6 @@ | |||
1 | require ${BPN}.inc | 1 | require ${BPN}.inc |
2 | 2 | ||
3 | DRIDRIVERS_class-native = "nouveau" | ||
4 | DRIDRIVERS_class-nativesdk = "nouveau" | ||
5 | DRIDRIVERS_append_x86_class-target = ",r100,r200,nouveau,i965,i915" | ||
6 | DRIDRIVERS_append_x86-64_class-target = ",r100,r200,nouveau,i965,i915" | ||