package/weston: add imx-gpu-viv as possible egl provider
authorGary Bisson <gary.bisson@boundarydevices.com>
Fri, 19 Jun 2020 12:54:59 +0000 (14:54 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 12 Sep 2020 12:24:29 +0000 (14:24 +0200)
As the imx-gpu-viv package provides both EGL and gbm libraries.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/weston/Config.in

index bf783b70d494584bfca7dce5c828867614c50c27..d07eba4c9dce17ca7bee785b7fa47efd86700bbd 100644 (file)
@@ -39,11 +39,11 @@ config BR2_PACKAGE_WESTON_DEFAULT_FBDEV
 
 config BR2_PACKAGE_WESTON_DEFAULT_DRM
        bool "drm"
-       depends on BR2_PACKAGE_MESA3D_OPENGL_EGL
+       depends on BR2_PACKAGE_MESA3D_OPENGL_EGL || BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_WL
        select BR2_PACKAGE_WESTON_DRM
 
 comment "drm backend needs mesa3d w/ EGL driver"
-       depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL
+       depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL && !BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_WL
 
 config BR2_PACKAGE_WESTON_DEFAULT_X11
        bool "X11"
@@ -63,11 +63,11 @@ config BR2_PACKAGE_WESTON_DEFAULT_COMPOSITOR
 
 config BR2_PACKAGE_WESTON_DRM
        bool "DRM compositor"
-       depends on BR2_PACKAGE_MESA3D_OPENGL_EGL
+       depends on BR2_PACKAGE_MESA3D_OPENGL_EGL || BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_WL
 
 # Uses libgbm from mesa3d
 comment "DRM compositor needs an OpenGL EGL backend provided by mesa3d"
-       depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL
+       depends on !BR2_PACKAGE_MESA3D_OPENGL_EGL && !BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_WL
 
 config BR2_PACKAGE_WESTON_FBDEV
        bool "fbdev compositor"