]> code.ossystems Code Review - meta-freescale.git/commitdiff
weston: Add G2D rendering support
authorTom Hochstein <tom.hochstein@nxp.com>
Tue, 26 Jun 2018 02:11:41 +0000 (21:11 -0500)
committerOtavio Salvador <otavio@ossystems.com.br>
Thu, 5 Jul 2018 18:49:49 +0000 (15:49 -0300)
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
(cherry picked from commit 57e479401af3ceb72743b0d91693f30c1af9852b)

recipes-graphics/wayland/weston_4.0.0.imx.bb

index a752cbb4b8b53d229e0ecb828a8a5e07e1e73c04..4d366ce92595b4546d4638669b1a309bbeca1cf4 100644 (file)
@@ -49,6 +49,7 @@ PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'kms fbdev
 # drm is not supported on mx6/mx7
 PACKAGECONFIG_remove_mx6 = "kms"
 PACKAGECONFIG_remove_mx7 = "kms"
+PACKAGECONFIG_append_imxgpu2d = " imxg2d"
 #
 # Compositor choices
 #
@@ -84,6 +85,8 @@ PACKAGECONFIG[colord] = "--enable-colord,--disable-colord,colord"
 PACKAGECONFIG[clients] = "--enable-clients --enable-simple-clients --enable-demo-clients-install,--disable-clients --disable-simple-clients"
 # Weston with PAM support
 PACKAGECONFIG[pam] = "--with-pam,--without-pam,libpam"
+# Weston with i.MX G2D renderer
+PACKAGECONFIG[imxg2d] = "--enable-imxg2d,--disable-imxg2d,virtual/libg2d"
 
 do_install_append() {
        # Weston doesn't need the .la files to load modules, so wipe them