diff options
author | takeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp> | 2020-11-02 11:07:33 +0900 |
---|---|---|
committer | takeshi_hoshina <takeshi_hoshina@mail.toyota.co.jp> | 2020-11-02 11:07:33 +0900 |
commit | 1c7d6584a7811b7785ae5c1e378f14b5ba0971cf (patch) | |
tree | cd70a267a5ef105ba32f200aa088e281fbd85747 /external/meta-virtualization/recipes-graphics | |
parent | 4204309872da5cb401cbb2729d9e2d4869a87f42 (diff) |
basesystem-jjsandbox/ToshikazuOhiwa/master-jj
recipes
Diffstat (limited to 'external/meta-virtualization/recipes-graphics')
-rw-r--r-- | external/meta-virtualization/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend | 13 | ||||
-rw-r--r-- | external/meta-virtualization/recipes-graphics/xorg-xserver/xserver-xorg_xen.inc | 13 |
2 files changed, 14 insertions, 12 deletions
diff --git a/external/meta-virtualization/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend b/external/meta-virtualization/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend index 95034045..f5ae9033 100644 --- a/external/meta-virtualization/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend +++ b/external/meta-virtualization/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend @@ -1,13 +1,2 @@ -# 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 = "" +require ${@bb.utils.contains('DISTRO_FEATURES', 'xen', '${BPN}_xen.inc', '', d)} -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}" diff --git a/external/meta-virtualization/recipes-graphics/xorg-xserver/xserver-xorg_xen.inc b/external/meta-virtualization/recipes-graphics/xorg-xserver/xserver-xorg_xen.inc new file mode 100644 index 00000000..95034045 --- /dev/null +++ b/external/meta-virtualization/recipes-graphics/xorg-xserver/xserver-xorg_xen.inc @@ -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}" |