summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/mesa-dri.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa-dri.inc')
-rw-r--r--meta/recipes-graphics/mesa/mesa-dri.inc6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-dri.inc b/meta/recipes-graphics/mesa/mesa-dri.inc
index ef1ca78af8..7a1164bf30 100644
--- a/meta/recipes-graphics/mesa/mesa-dri.inc
+++ b/meta/recipes-graphics/mesa/mesa-dri.inc
@@ -10,10 +10,14 @@ DRIDRIVERS_append_x86-64 = ",i915,i965"
10 10
11EXTRA_OECONF += "--disable-gallium --without-gallium-drivers" 11EXTRA_OECONF += "--disable-gallium --without-gallium-drivers"
12EXTRA_OECONF += "--enable-dri --with-dri-drivers=${DRIDRIVERS}" 12EXTRA_OECONF += "--enable-dri --with-dri-drivers=${DRIDRIVERS}"
13EXTRA_OECONF += "--disable-egl --enable-gbm" 13EXTRA_OECONF += "--enable-gbm"
14 14
15PACKAGECONFIG[gles] = "--enable-gles1 --enable-gles2, --disable-gles1 --disable-gles2" 15PACKAGECONFIG[gles] = "--enable-gles1 --enable-gles2, --disable-gles1 --disable-gles2"
16 16
17EGL_PLATFORMS = "drm"
18EGL_PLATFORMS .="${@base_contains('DISTRO_FEATURES', 'x11', ',x11', '', d)}"
19PACKAGECONFIG[egl] = "--enable-egl --with-egl-platforms=${EGL_PLATFORMS}, --disable-egl"
20
17python populate_packages_prepend() { 21python populate_packages_prepend() {
18 dri_drivers_root = os.path.join(d.getVar('libdir', True), "dri") 22 dri_drivers_root = os.path.join(d.getVar('libdir', True), "dri")
19 23