summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-graphics/mesa')
-rw-r--r--recipes-graphics/mesa/mesa_%.bbappend13
1 files changed, 3 insertions, 10 deletions
diff --git a/recipes-graphics/mesa/mesa_%.bbappend b/recipes-graphics/mesa/mesa_%.bbappend
index 8d429abf..6b9b456c 100644
--- a/recipes-graphics/mesa/mesa_%.bbappend
+++ b/recipes-graphics/mesa/mesa_%.bbappend
@@ -17,17 +17,10 @@ python () {
17# Enable Etnaviv and Freedreno support 17# Enable Etnaviv and Freedreno support
18PACKAGECONFIG_append_use-mainline-bsp = " gallium etnaviv kmsro freedreno" 18PACKAGECONFIG_append_use-mainline-bsp = " gallium etnaviv kmsro freedreno"
19 19
20USE_OSMESA_ONLY ?= "no"
21
22# Etnaviv support state for i.MX8 is unknown, therefore only enable OSMesa and
23# disable Gallium for now. If you still want to enable Etnaviv, just set
24# USE_OSMESA_ONLY_mx8 = "no" in your bbappend.
25USE_OSMESA_ONLY_mx8 ?= "yes"
26
27# Enable OSMesa which also requires dri (classic) swrast 20# Enable OSMesa which also requires dri (classic) swrast
28PACKAGECONFIG_append = " ${@oe.utils.conditional('USE_OSMESA_ONLY', 'yes', ' osmesa', '', d)}" 21PACKAGECONFIG_remove_use-nxp-bsp = "gallium"
29PACKAGECONFIG_remove = " ${@oe.utils.conditional('USE_OSMESA_ONLY', 'yes', 'gallium', '', d)}" 22PACKAGECONFIG_append_use-nxp-bsp = " osmesa"
30DRIDRIVERS_append = "${@oe.utils.conditional('USE_OSMESA_ONLY', 'yes', 'swrast', '', d)}" 23DRIDRIVERS_use-nxp-bsp = "swrast"
31 24
32BACKEND = \ 25BACKEND = \
33 "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \ 26 "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', \