[OE-core] [PATCH] mesa-dri: add extra dri drivers
igeiser at devonit.com
igeiser at devonit.com
Wed Jan 30 13:26:11 UTC 2013
From: Ian Reinhart Geiser <igeiser at devonit.com>
On x86 the ATI and NVidia drm drivers are valid to build.
Currently there are _append_x86 and _append_x64 lines that
explicitly add i915 and i965. For consistency I think that
the ATI and NVidia drm driver should be added. In classic
these were tunable via the machine configuration files. I
would argue we should go back to that so we should make
the DRIDRIVERS field something that can be defined there.
* Made the DRIDRIVERS field overridable.
* Add ATI and NVidia DRI drivers to the build list for
x86 and x86_64.
Signed-off-by: Ian Reinhart Geiser <igeiser at devonit.com>
---
meta/recipes-graphics/mesa/mesa-dri.inc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/meta/recipes-graphics/mesa/mesa-dri.inc b/meta/recipes-graphics/mesa/mesa-dri.inc
index 1f6ec78..12e9dd5 100644
--- a/meta/recipes-graphics/mesa/mesa-dri.inc
+++ b/meta/recipes-graphics/mesa/mesa-dri.inc
@@ -1,9 +1,9 @@
DEPENDS += "libdrm expat udev"
X11_DEPS += "dri2proto"
-DRIDRIVERS = "swrast"
-DRIDRIVERS_append_x86 = ",i915,i965"
-DRIDRIVERS_append_x86-64 = ",i915,i965"
+DRIDRIVERS ?= "swrast"
+DRIDRIVERS_append_x86 = ",i915,i965,nouveau,r200,radeon"
+DRIDRIVERS_append_x86-64 = ",i915,i965,nouveau,r200,radeon"
EXTRA_OECONF += "--disable-gallium --without-gallium-drivers"
EXTRA_OECONF += "--enable-dri --with-dri-drivers=${DRIDRIVERS}"
--
1.7.9.5
More information about the Openembedded-core
mailing list