[OE-core] [PATCH v2] xserver-xorg: Enable glamor by default
Saul Wold
sgw at linux.intel.com
Thu Jan 12 23:33:41 UTC 2017
To enable glamor, we need to also enable both dri3 and xshmfence as dependencies.
Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
meta/recipes-graphics/xorg-xserver/xserver-xorg.inc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
index 6a13380..0d3022f 100644
--- a/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
+++ b/meta/recipes-graphics/xorg-xserver/xserver-xorg.inc
@@ -121,8 +121,9 @@ EXTRA_OECONF += "--with-fop=no \
"
EXTRA_OECONF[vardepsexclude] = "MACHINE"
+OPENGL_PKGCONFIGS = "dri glx glamor dri3 xshmfence"
PACKAGECONFIG ??= "dri2 udev ${XORG_CRYPTO} \
- ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'dri glx', '', d)} \
+ ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', '${OPENGL_PKGCONFIGS}', '', d)} \
${@bb.utils.contains("DISTRO_FEATURES", "wayland", "xwayland", "", d)} \
${@bb.utils.contains("DISTRO_FEATURES", "systemd", "systemd", "", d)} \
"
--
2.7.4
More information about the Openembedded-core
mailing list