aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-graphics
diff options
context:
space:
mode:
authorTom Hochstein <tom.hochstein@nxp.com>2018-10-10 14:01:40 -0500
committerTom Hochstein <tom.hochstein@nxp.com>2018-10-30 15:20:40 -0500
commit6be69827e0349c0e9f17f63dd72a169f8c53a02d (patch)
treeeda6bd182cab313c5f8c351daad8b0643ee4d6f3 /recipes-graphics
parenta32fd1315f371beeda0856c2108615ae162760a9 (diff)
downloadmeta-freescale-6be69827e0349c0e9f17f63dd72a169f8c53a02d.tar.gz
meta-freescale-6be69827e0349c0e9f17f63dd72a169f8c53a02d.tar.bz2
meta-freescale-6be69827e0349c0e9f17f63dd72a169f8c53a02d.zip
weston: Disable opengl for 2D-only SOC
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Diffstat (limited to 'recipes-graphics')
-rw-r--r--recipes-graphics/wayland/weston_4.0.0.imx.bb5
1 files changed, 4 insertions, 1 deletions
diff --git a/recipes-graphics/wayland/weston_4.0.0.imx.bb b/recipes-graphics/wayland/weston_4.0.0.imx.bb
index c047e22f..40f8cc61 100644
--- a/recipes-graphics/wayland/weston_4.0.0.imx.bb
+++ b/recipes-graphics/wayland/weston_4.0.0.imx.bb
@@ -27,6 +27,9 @@ inherit autotools pkgconfig useradd distro_features_check
REQUIRED_DISTRO_FEATURES = "opengl"
REQUIRED_DISTRO_FEATURES_imxgpu2d = ""
REQUIRED_DISTRO_FEATURES_imxgpu3d = "opengl"
+PACKAGECONFIG_OPENGL = "opengl"
+PACKAGECONFIG_OPENGL_imxgpu2d = ""
+PACKAGECONFIG_OPENGL_imxgpu3d = "opengl"
DEPENDS = "libxkbcommon gdk-pixbuf pixman cairo glib-2.0 jpeg"
DEPENDS += "wayland wayland-protocols libinput virtual/egl pango wayland-native"
@@ -47,7 +50,7 @@ EXTRA_OECONF_append_imxfbdev = "\
"
PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'kms fbdev wayland egl', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', 'xwayland', '', d)} \
- ${@bb.utils.filter('DISTRO_FEATURES', 'opengl pam systemd x11', d)} \
+ ${@bb.utils.filter('DISTRO_FEATURES', '${PACKAGECONFIG_OPENGL} pam systemd x11', d)} \
clients launch"
PACKAGECONFIG_remove_imxfbdev = "kms"
PACKAGECONFIG_append_imxgpu = " imxgpu"