diff options
author | Ross Burton <ross.burton@intel.com> | 2014-07-07 14:40:49 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-07-08 11:20:13 +0100 |
commit | 9192fc10e48d9169b0aad706b5b3f44d2869471c (patch) | |
tree | 73b43bc2b58977a1e6d4a0dc2b6eb716ce5628d3 /meta/recipes-graphics/xorg-xserver/xserver-xorg.inc | |
parent | 6bb1bef66f71e70ac6d967bbb7a78ad98beee504 (diff) | |
download | poky-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.inc | 4 |
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 | |||
120 | PACKAGECONFIG[udev] = "--enable-config-udev,--disable-config-udev,udev" | 120 | PACKAGECONFIG[udev] = "--enable-config-udev,--disable-config-udev,udev" |
121 | PACKAGECONFIG[dri] = "--enable-dri,--disable-dri,glproto virtual/mesa xf86driproto" | 121 | PACKAGECONFIG[dri] = "--enable-dri,--disable-dri,glproto virtual/mesa xf86driproto" |
122 | PACKAGECONFIG[dri2] = "--enable-dri2,--disable-dri2,dri2proto" | 122 | PACKAGECONFIG[dri2] = "--enable-dri2,--disable-dri2,dri2proto" |
123 | PACKAGECONFIG[dri3] = "--enable-dri3,--disable-dri3,dri3proto libxshmfence" | 123 | # DRI3 requires xshmfence to also be enabled |
124 | PACKAGECONFIG[dri3] = "--enable-dri3,--disable-dri3,dri3proto" | ||
124 | PACKAGECONFIG[glx] = "--enable-glx --enable-glx-tls,--disable-glx,glproto virtual/libgl virtual/libx11" | 125 | PACKAGECONFIG[glx] = "--enable-glx --enable-glx-tls,--disable-glx,glproto virtual/libgl virtual/libx11" |
125 | PACKAGECONFIG[unwind] = "--enable-libunwind,--disable-libunwind,libunwind" | 126 | PACKAGECONFIG[unwind] = "--enable-libunwind,--disable-libunwind,libunwind" |
127 | PACKAGECONFIG[xshmfence] = "--enable-xshmfence,--disable-xshmfence,libxshmfence" | ||
126 | 128 | ||
127 | do_install_append () { | 129 | do_install_append () { |
128 | # Its assumed base-files creates this for us | 130 | # Its assumed base-files creates this for us |