summaryrefslogtreecommitdiffstats
path: root/recipes-graphics
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-graphics')
-rw-r--r--recipes-graphics/mesa/mesa_%.bbappend13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes-graphics/mesa/mesa_%.bbappend b/recipes-graphics/mesa/mesa_%.bbappend
index 9f183db9..629603b3 100644
--- a/recipes-graphics/mesa/mesa_%.bbappend
+++ b/recipes-graphics/mesa/mesa_%.bbappend
@@ -19,6 +19,19 @@ PACKAGECONFIG_append_use-mainline-bsp = " gallium"
19GALLIUMDRIVERS_append_use-mainline-bsp_armv7a = ",etnaviv,kmsro,vc4" 19GALLIUMDRIVERS_append_use-mainline-bsp_armv7a = ",etnaviv,kmsro,vc4"
20GALLIUMDRIVERS_append_use-mainline-bsp_armv7ve = ",etnaviv,kmsro,vc4" 20GALLIUMDRIVERS_append_use-mainline-bsp_armv7ve = ",etnaviv,kmsro,vc4"
21 21
22# Define the osmesa block in PACKAGECONFIG for target, this block is
23# not defined in the master recipe, effectively causing the osmesa
24# feature to be disabled and -Dosmesa=none set.
25PACKAGECONFIG_append_mx8mm = " osmesa"
26
27# Solve 'Problem encountered: OSMesa classic requires dri (classic) swrast.'
28# by defining the dri swrast for mx8mm machine
29DRIDRIVERS_append_mx8mm = "swrast"
30
31# Solve 'ERROR: Problem encountered: Only one swrast provider can be built'
32# by excluding gallium support, dri is used together with 'classic' mesa backend.
33PACKAGECONFIG_remove_mx8mm = "gallium"
34
22BACKEND = \ 35BACKEND = \
23 "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \ 36 "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \
24 bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', \ 37 bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', \