summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2014-07-07 14:40:49 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-08 11:20:13 +0100
commit9192fc10e48d9169b0aad706b5b3f44d2869471c (patch)
tree73b43bc2b58977a1e6d4a0dc2b6eb716ce5628d3 /meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
parent6bb1bef66f71e70ac6d967bbb7a78ad98beee504 (diff)
downloadpoky-9192fc10e48d9169b0aad706b5b3f44d2869471c.tar.gz
xserver-xorg: fix xshmfence autodetection
Add a PACKAGECONFIG for xshmfence. If DRI3 is enabled, xshmfence also needs to be enabled. [ YOCTO #6507 ] (From OE-Core rev: ff2e96cacc116cf362d4c5dc36f1b846672f98e0) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/xorg-xserver/xserver-xorg.inc')
-rw-r--r--meta/recipes-graphics/xorg-xserver/xserver-xorg.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
index 48ab347128..8b5747e282 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
@@ -120,9 +120,11 @@ PACKAGECONFIG ??= "udev ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'dri d
120PACKAGECONFIG[udev] = "--enable-config-udev,--disable-config-udev,udev" 120PACKAGECONFIG[udev] = "--enable-config-udev,--disable-config-udev,udev"
121PACKAGECONFIG[dri] = "--enable-dri,--disable-dri,glproto virtual/mesa xf86driproto" 121PACKAGECONFIG[dri] = "--enable-dri,--disable-dri,glproto virtual/mesa xf86driproto"
122PACKAGECONFIG[dri2] = "--enable-dri2,--disable-dri2,dri2proto" 122PACKAGECONFIG[dri2] = "--enable-dri2,--disable-dri2,dri2proto"
123PACKAGECONFIG[dri3] = "--enable-dri3,--disable-dri3,dri3proto libxshmfence" 123# DRI3 requires xshmfence to also be enabled
124PACKAGECONFIG[dri3] = "--enable-dri3,--disable-dri3,dri3proto"
124PACKAGECONFIG[glx] = "--enable-glx --enable-glx-tls,--disable-glx,glproto virtual/libgl virtual/libx11" 125PACKAGECONFIG[glx] = "--enable-glx --enable-glx-tls,--disable-glx,glproto virtual/libgl virtual/libx11"
125PACKAGECONFIG[unwind] = "--enable-libunwind,--disable-libunwind,libunwind" 126PACKAGECONFIG[unwind] = "--enable-libunwind,--disable-libunwind,libunwind"
127PACKAGECONFIG[xshmfence] = "--enable-xshmfence,--disable-xshmfence,libxshmfence"
126 128
127do_install_append () { 129do_install_append () {
128 # Its assumed base-files creates this for us 130 # Its assumed base-files creates this for us