package/qt5/qt5base: allow to use imx-gpu-viv as GBM provider
authorGary Bisson <gary.bisson@boundarydevices.com>
Tue, 29 Sep 2020 08:20:17 +0000 (10:20 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 30 Sep 2020 19:48:24 +0000 (21:48 +0200)
Needed in order to use eglfs_kms platform backend.

Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Reviewed-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/qt5/qt5base/qt5base.mk

index 359a3800750433a38f0eb4a3a46474b44bd98cc8..1232a037787912a5f9019da809841c6959adffad 100644 (file)
@@ -79,6 +79,9 @@ QT5BASE_DEPENDENCIES += gcnano-binaries
 else ifeq ($(BR2_PACKAGE_TI_SGX_LIBGBM),y)
 QT5BASE_CONFIGURE_OPTS += -gbm
 QT5BASE_DEPENDENCIES += ti-sgx-libgbm
+else ifeq ($(BR2_PACKAGE_IMX_GPU_VIV),y)
+QT5BASE_CONFIGURE_OPTS += -gbm
+QT5BASE_DEPENDENCIES += imx-gpu-viv
 else
 QT5BASE_CONFIGURE_OPTS += -no-gbm
 endif