[OE-core] [PATCH] mesa-dri: move extra DRIMODULES to EXTRA_DRIMODULES

Martin Jansa martin.jansa at gmail.com
Sat Oct 15 10:38:52 UTC 2011


* this way we can use
  EXTRA_DRIDRIVERS_armv4t += ",glamo" in meta-openmoko layer and
  EXTRA_DRIDRIVERS_armv4t += ",foo" in meta-bar layer without knowledge
  of other modules in other layers in stack
* actually it's like old MACHINE_DRI_MODULES from OE-classic but renamed
  to indicate that it should be used for architecture not machine

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
 meta/recipes-graphics/mesa/mesa-dri.inc |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-graphics/mesa/mesa-dri.inc b/meta/recipes-graphics/mesa/mesa-dri.inc
index 795144a..ef0e8cf 100644
--- a/meta/recipes-graphics/mesa/mesa-dri.inc
+++ b/meta/recipes-graphics/mesa/mesa-dri.inc
@@ -4,11 +4,11 @@ LIB_DEPS += "libdrm expat"
 # most of our targets do not have DRI so will use mesa-xlib
 DEFAULT_PREFERENCE = "-1"
 
-DRIDRIVERS = "swrast"
-DRIDRIVERS_x86 = "swrast,i915,i965"
-DRIDRIVERS_x86-64 = "swrast,i915,i965"
+EXTRA_DRIDRIVERS = ""
+EXTRA_DRIDRIVERS_x86 = "i915,i965"
+EXTRA_DRIDRIVERS_x86-64 = "i915,i965"
 
-EXTRA_OECONF += "--with-driver=dri --disable-egl --disable-gallium --without-gallium-drivers --with-dri-drivers=${DRIDRIVERS}"
+EXTRA_OECONF += "--with-driver=dri --disable-egl --disable-gallium --without-gallium-drivers --with-dri-drivers=swrast,${EXTRA_DRIDRIVERS}"
 
 python populate_packages_prepend() {
 	import os.path
-- 
1.7.7





More information about the Openembedded-core mailing list