mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
xorg-xserver: make changes conditional on xen distro feature
The changes in this bbappend should only trigger when xen is in the distro features. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
parent
56c3ce96a2
commit
d4b8bad25b
|
@ -1,13 +1,2 @@
|
||||||
# Change the default Xserver OpenGL configuration for non-x86 distros with Xen: deselect 'glamor'.
|
require ${@bb.utils.contains('DISTRO_FEATURES', 'xen', '${BPN}_xen.inc', '', d)}
|
||||||
# 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}"
|
|
||||||
|
|
13
recipes-graphics/xorg-xserver/xserver-xorg_xen.inc
Normal file
13
recipes-graphics/xorg-xserver/xserver-xorg_xen.inc
Normal file
|
@ -0,0 +1,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}"
|
Loading…
Reference in New Issue
Block a user