diff options
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa-dri.inc')
-rw-r--r-- | meta/recipes-graphics/mesa/mesa-dri.inc | 6 |
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 | ||
11 | EXTRA_OECONF += "--disable-gallium --without-gallium-drivers" | 11 | EXTRA_OECONF += "--disable-gallium --without-gallium-drivers" |
12 | EXTRA_OECONF += "--enable-dri --with-dri-drivers=${DRIDRIVERS}" | 12 | EXTRA_OECONF += "--enable-dri --with-dri-drivers=${DRIDRIVERS}" |
13 | EXTRA_OECONF += "--disable-egl --enable-gbm" | 13 | EXTRA_OECONF += "--enable-gbm" |
14 | 14 | ||
15 | PACKAGECONFIG[gles] = "--enable-gles1 --enable-gles2, --disable-gles1 --disable-gles2" | 15 | PACKAGECONFIG[gles] = "--enable-gles1 --enable-gles2, --disable-gles1 --disable-gles2" |
16 | 16 | ||
17 | EGL_PLATFORMS = "drm" | ||
18 | EGL_PLATFORMS .="${@base_contains('DISTRO_FEATURES', 'x11', ',x11', '', d)}" | ||
19 | PACKAGECONFIG[egl] = "--enable-egl --with-egl-platforms=${EGL_PLATFORMS}, --disable-egl" | ||
20 | |||
17 | python populate_packages_prepend() { | 21 | python 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 | ||