mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-09 07:51:59 -09:00
package/qt5/qt5base: use the libgbm virtual package
Now that we have a libgbm virtual package, it makes sense to use it to replace the open-coded list of gbm providers in qt5base. All of mesa3d, gcnano-binaries, ti-sgx-um and imx-gpu-viv are libgbm providers now. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
@@ -69,19 +69,9 @@ else
|
||||
QT5BASE_CONFIGURE_OPTS += -no-kms
|
||||
endif
|
||||
|
||||
# Uses libgbm from mesa3d
|
||||
ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_EGL),y)
|
||||
ifeq ($(BR2_PACKAGE_HAS_LIBGBM),y)
|
||||
QT5BASE_CONFIGURE_OPTS += -gbm
|
||||
QT5BASE_DEPENDENCIES += mesa3d
|
||||
else ifeq ($(BR2_PACKAGE_GCNANO_BINARIES),y)
|
||||
QT5BASE_CONFIGURE_OPTS += -gbm
|
||||
QT5BASE_DEPENDENCIES += gcnano-binaries
|
||||
else ifeq ($(BR2_PACKAGE_TI_SGX_UM),y)
|
||||
QT5BASE_CONFIGURE_OPTS += -gbm
|
||||
QT5BASE_DEPENDENCIES += ti-sgx-um
|
||||
else ifeq ($(BR2_PACKAGE_IMX_GPU_VIV_OUTPUT_WL),y)
|
||||
QT5BASE_CONFIGURE_OPTS += -gbm
|
||||
QT5BASE_DEPENDENCIES += imx-gpu-viv
|
||||
QT5BASE_DEPENDENCIES += libgbm
|
||||
else
|
||||
QT5BASE_CONFIGURE_OPTS += -no-gbm
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user