]> code.ossystems Code Review - meta-freescale.git/commitdiff
weston: Disable opengl for 2D-only SOC
authorTom Hochstein <tom.hochstein@nxp.com>
Wed, 10 Oct 2018 19:01:40 +0000 (14:01 -0500)
committerTom Hochstein <tom.hochstein@nxp.com>
Tue, 30 Oct 2018 20:20:40 +0000 (15:20 -0500)
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
recipes-graphics/wayland/weston_4.0.0.imx.bb

index c047e22fc3745e7bbf4cf79bf9778d5bb2f2d1eb..40f8cc6159f0de76751d9403c93fce2ea0b37163 100644 (file)
@@ -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"