Skip to contentSkip to conversation

ia32-base: only depend on mesa-driver-i9xx if opengl is enabled

PATCH New Ross Burton 1 participant 1 message Sep 11, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ia32-base: only depend on mesa-driver-i9xx if opengl is enabled

As Mesa refuses to compile if the "opengl" DISTRO_FEATURE isn't enabled, mesa-driver-i9xx has to be conditional in the ia32 machine defintion too.

---
 meta/conf/machine/include/ia32-base.inc |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/conf/machine/include/ia32-base.inc +2 -2
index cb542a5..203776c 100644
@@ -38,11 +38,11 @@ XSERVER_IA32_EXT = " \
            "
 
 XSERVER_IA32_I915 = "xf86-video-intel \
-           mesa-driver-i915 \
+           ${@base_contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-i915', '', d)} \
            "
 
 XSERVER_IA32_I965 = "xf86-video-intel \
-           mesa-driver-i965 \
+           ${@base_contains('DISTRO_FEATURES', 'opengl', 'mesa-driver-i965', '', d)} \
            "
 
 XSERVER_IA32_VESA = "xf86-video-vesa"
Signature · 1 line
1.7.10.4