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, 4 insertions, 2 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-dri.inc b/meta/recipes-graphics/mesa/mesa-dri.inc index 6bf2503296..f8f1fff4cc 100644 --- a/meta/recipes-graphics/mesa/mesa-dri.inc +++ b/meta/recipes-graphics/mesa/mesa-dri.inc | |||
@@ -1,5 +1,5 @@ | |||
1 | PROTO_DEPS += "dri2proto" | 1 | PROTO_DEPS += "dri2proto" |
2 | LIB_DEPS += "libdrm expat" | 2 | LIB_DEPS += "libdrm expat udev" |
3 | 3 | ||
4 | # most of our targets do not have DRI so will use mesa-xlib | 4 | # most of our targets do not have DRI so will use mesa-xlib |
5 | DEFAULT_PREFERENCE = "-1" | 5 | DEFAULT_PREFERENCE = "-1" |
@@ -8,7 +8,9 @@ DRIDRIVERS = "swrast" | |||
8 | DRIDRIVERS_append_x86 = ",i915,i965" | 8 | DRIDRIVERS_append_x86 = ",i915,i965" |
9 | DRIDRIVERS_append_x86-64 = ",i915,i965" | 9 | DRIDRIVERS_append_x86-64 = ",i915,i965" |
10 | 10 | ||
11 | EXTRA_OECONF += "--with-driver=dri --disable-egl --disable-gallium --without-gallium-drivers --with-dri-drivers=${DRIDRIVERS}" | 11 | EXTRA_OECONF += "--disable-gallium --without-gallium-drivers" |
12 | EXTRA_OECONF += "--enable-dri --with-dri-drivers=${DRIDRIVERS}" | ||
13 | EXTRA_OECONF += "--disable-egl --enable-gbm" | ||
12 | 14 | ||
13 | python populate_packages_prepend() { | 15 | python populate_packages_prepend() { |
14 | dri_drivers_root = os.path.join(d.getVar('libdir', True), "dri") | 16 | dri_drivers_root = os.path.join(d.getVar('libdir', True), "dri") |