[OE-core] [PATCH 2/2] mesa-dri: move extra DRIMODULES to EXTRA_DRIMODULES
Martin Jansa
martin.jansa at gmail.com
Sat Oct 15 10:24:20 UTC 2011
* this way we can use
EXTRA_DRIMODULES_armv4t += ",glamo" in meta-openmoko layer and
EXTRA_DRIMODULES_armv4t += ",foo" in meta-bar layer without knowledge
of other modules in other layers in stack
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
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 795144a..4557bf8 100644
--- a/meta/recipes-graphics/mesa/mesa-dri.inc
+++ b/meta/recipes-graphics/mesa/mesa-dri.inc
@@ -4,9 +4,11 @@ LIB_DEPS += "libdrm expat"
# most of our targets do not have DRI so will use mesa-xlib
DEFAULT_PREFERENCE = "-1"
+EXTRA_DRIDRIVERS = ""
+EXTRA_DRIDRIVERS_x86 = ",i915,i965"
+EXTRA_DRIDRIVERS_x86-64 = ",i915,i965"
DRIDRIVERS = "swrast"
-DRIDRIVERS_x86 = "swrast,i915,i965"
-DRIDRIVERS_x86-64 = "swrast,i915,i965"
+DRIDRIVERS += "${EXTRA_DRIDRIVERS}"
EXTRA_OECONF += "--with-driver=dri --disable-egl --disable-gallium --without-gallium-drivers --with-dri-drivers=${DRIDRIVERS}"
--
1.7.7
More information about the Openembedded-core
mailing list