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

login
register
mail settings
Submitter Ross Burton
Date Sept. 11, 2013, 11:06 a.m.
Message ID <1378897608-22588-1-git-send-email-ross.burton@intel.com>
Download mbox | patch
Permalink /patch/57825/
State New
Headers show

Comments

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

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"