]> code.ossystems Code Review - meta-freescale.git/commitdiff
weston: Fix non-GBM build error for i.MX 6 & 7
authorTom Hochstein <tom.hochstein@nxp.com>
Tue, 28 Apr 2020 19:21:02 +0000 (14:21 -0500)
committerOtavio Salvador <otavio@ossystems.com.br>
Wed, 29 Apr 2020 23:04:40 +0000 (20:04 -0300)
i.MX 6 and 7 doesn't support GBM, required by weston-simple-dmabuf-egl:

| Run-time dependency gbm found: NO (tried pkgconfig and cmake)
|
| clients/meson.build:134:4: ERROR: Problem encountered: weston-simple-dmabuf-egl requires gbm which was not found. If you rather not build this, drop "dmabuf-egl" from simple-clients option.

Remove the clients for i.MX 6 and 7.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
recipes-graphics/wayland/weston_8.0.0.imx.bb

index aa0ea52177b62eff56814723bd6ff708758b3c2f..70732ae85a486a4b2c9a5ab76973917d66e5bf50 100644 (file)
@@ -146,7 +146,7 @@ PACKAGECONFIG_OPENGL_imxgpu3d     = "opengl"
 
 PACKAGECONFIG_append = " ${@bb.utils.filter('DISTRO_FEATURES', '${PACKAGECONFIG_OPENGL}', d)}"
 
-PACKAGECONFIG_remove_imxfbdev = "kms"
+PACKAGECONFIG_remove_imxfbdev = "kms clients"
 PACKAGECONFIG_append_imxfbdev = " fbdev"
 PACKAGECONFIG_append_imxgpu   = " imxgpu"
 PACKAGECONFIG_append_imxgpu2d = " imxg2d"