diff options
| -rw-r--r-- | recipes-graphics/mesa/mesa_%.bbappend | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes-graphics/mesa/mesa_%.bbappend b/recipes-graphics/mesa/mesa_%.bbappend index 9f183db92..629603b32 100644 --- a/recipes-graphics/mesa/mesa_%.bbappend +++ b/recipes-graphics/mesa/mesa_%.bbappend | |||
| @@ -19,6 +19,19 @@ PACKAGECONFIG_append_use-mainline-bsp = " gallium" | |||
| 19 | GALLIUMDRIVERS_append_use-mainline-bsp_armv7a = ",etnaviv,kmsro,vc4" | 19 | GALLIUMDRIVERS_append_use-mainline-bsp_armv7a = ",etnaviv,kmsro,vc4" |
| 20 | GALLIUMDRIVERS_append_use-mainline-bsp_armv7ve = ",etnaviv,kmsro,vc4" | 20 | GALLIUMDRIVERS_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. | ||
| 25 | PACKAGECONFIG_append_mx8mm = " osmesa" | ||
| 26 | |||
| 27 | # Solve 'Problem encountered: OSMesa classic requires dri (classic) swrast.' | ||
| 28 | # by defining the dri swrast for mx8mm machine | ||
| 29 | DRIDRIVERS_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. | ||
| 33 | PACKAGECONFIG_remove_mx8mm = "gallium" | ||
| 34 | |||
| 22 | BACKEND = \ | 35 | BACKEND = \ |
| 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', \ |
