summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/xorg-xserver/xserver-xorg_xen.inc
blob: 1b7e06b20bd86ee27414d0cf8fee7b9077c97535 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Change the default Xserver OpenGL configuration for non-x86 distros with Xen: deselect 'glamor'.
# This removes the dependency on libegl to simplify the domU build.
#
# To override this (eg. if wanted for dom0 images) define:
#   REMOVED_OPENGL_PKGCONFIGS = ""

XEN_REMOVED_OPENGL_PKGCONFIGS ?= "glamor"
XEN_REMOVED_OPENGL_PKGCONFIGS:x86 = ""
XEN_REMOVED_OPENGL_PKGCONFIGS:x86-64 = ""

REMOVED_OPENGL_PKGCONFIGS ?= "${@bb.utils.contains('DISTRO_FEATURES', 'xen', "${XEN_REMOVED_OPENGL_PKGCONFIGS}", '', d)}"

OPENGL_PKGCONFIGS:remove = "${REMOVED_OPENGL_PKGCONFIGS}"