summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/xorg-xserver/xserver-xorg_xen.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-graphics/xorg-xserver/xserver-xorg_xen.inc')
-rw-r--r--recipes-graphics/xorg-xserver/xserver-xorg_xen.inc13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes-graphics/xorg-xserver/xserver-xorg_xen.inc b/recipes-graphics/xorg-xserver/xserver-xorg_xen.inc
new file mode 100644
index 00000000..95034045
--- /dev/null
+++ b/recipes-graphics/xorg-xserver/xserver-xorg_xen.inc
@@ -0,0 +1,13 @@
1# Change the default Xserver OpenGL configuration for non-x86 distros with Xen: deselect 'glamor'.
2# This removes the dependency on libegl to simplify the domU build.
3#
4# To override this (eg. if wanted for dom0 images) define:
5# REMOVED_OPENGL_PKGCONFIGS = ""
6
7XEN_REMOVED_OPENGL_PKGCONFIGS ?= "glamor"
8XEN_REMOVED_OPENGL_PKGCONFIGS_x86 = ""
9XEN_REMOVED_OPENGL_PKGCONFIGS_x86-64 = ""
10
11REMOVED_OPENGL_PKGCONFIGS ?= "${@bb.utils.contains('DISTRO_FEATURES', 'xen', "${XEN_REMOVED_OPENGL_PKGCONFIGS}", '', d)}"
12
13OPENGL_PKGCONFIGS_remove = "${REMOVED_OPENGL_PKGCONFIGS}"