summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2013-09-09 10:19:12 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-10 15:56:50 +0100
commitbb9c01bd627cae9c037811c943ad38eebb2f8b25 (patch)
tree50ab154f6d3988fc0467265502062cf743330640 /meta
parent05bacb69a3b0f3bbd9dd608855456c32b4007fde (diff)
downloadopenembedded-core-bb9c01bd627cae9c037811c943ad38eebb2f8b25.tar.gz
openembedded-core-bb9c01bd627cae9c037811c943ad38eebb2f8b25.tar.bz2
openembedded-core-bb9c01bd627cae9c037811c943ad38eebb2f8b25.zip
xf86-video-intel: allow builds without opengl, add more options
Allow builds without the opengl DISTRO_FEATURE by disabling DRI. Also add new options for UXA (not default upstream, requires DRI) and udev (enabled by default) Finally remove a few obsolete dependencies. Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-graphics/xorg-driver/xf86-video-intel_2.21.13.bb9
1 files changed, 6 insertions, 3 deletions
diff --git a/meta/recipes-graphics/xorg-driver/xf86-video-intel_2.21.13.bb b/meta/recipes-graphics/xorg-driver/xf86-video-intel_2.21.13.bb
index 54c4d17a83..f26544b3c9 100644
--- a/meta/recipes-graphics/xorg-driver/xf86-video-intel_2.21.13.bb
+++ b/meta/recipes-graphics/xorg-driver/xf86-video-intel_2.21.13.bb
@@ -9,11 +9,14 @@ Infrastructure (DRI)."
LIC_FILES_CHKSUM = "file://COPYING;md5=8730ad58d11c7bbad9a7066d69f7808e"
-DEPENDS += "virtual/libx11 drm xf86driproto glproto \
- virtual/libgl xineramaproto libpciaccess udev"
+DEPENDS += "virtual/libx11 drm libpciaccess pixman"
-PACKAGECONFIG ??= ""
+PACKAGECONFIG ??= "sna udev ${@base_contains('DISTRO_FEATURES', 'opengl', 'dri', '', d)}"
+
+PACKAGECONFIG[dri] = "--enable-dri,--disable-dri,xf86driproto dri2proto"
PACKAGECONFIG[sna] = "--enable-sna,--disable-sna"
+PACKAGECONFIG[uxa] = "--enable-uxa,--disable-uxa"
+PACKAGECONFIG[udev] = "--enable-udev,--disable-udev,udev"
PACKAGECONFIG[xvmc] = "--enable-xvmc,--disable-xvmc,libxvmc"
# --enable-kms-only option is required by ROOTLESS_X