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

Submitted by Ross Burton on Sept. 11, 2013, 11:06 a.m.

Details

Message ID 1378897608-22588-1-git-send-email-ross.burton@intel.com
State New
Headers show

Commit Message

Ross Burton Sept. 11, 2013, 11:06 a.m.
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.

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 meta/conf/machine/include/ia32-base.inc |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch hide | download patch | download mbox

diff --git a/meta/conf/machine/include/ia32-base.inc b/meta/conf/machine/include/ia32-base.inc
index cb542a5..203776c 100644
--- a/meta/conf/machine/include/ia32-base.inc
+++ b/meta/conf/machine/include/ia32-base.inc
@@ -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"