mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
qt5base: Enable KMS and GBM if Mesa 3D provides EGL
Signed-off-by: Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
fc832dd126
commit
7e2fdc14a1
@ -20,7 +20,6 @@ QT5BASE_INSTALL_STAGING = YES
|
|||||||
# want to use the one packaged in Buildroot
|
# want to use the one packaged in Buildroot
|
||||||
QT5BASE_CONFIGURE_OPTS += \
|
QT5BASE_CONFIGURE_OPTS += \
|
||||||
-optimized-qmake \
|
-optimized-qmake \
|
||||||
-no-kms \
|
|
||||||
-no-cups \
|
-no-cups \
|
||||||
-no-nis \
|
-no-nis \
|
||||||
-no-iconv \
|
-no-iconv \
|
||||||
@ -29,6 +28,14 @@ QT5BASE_CONFIGURE_OPTS += \
|
|||||||
-no-pch \
|
-no-pch \
|
||||||
-shared
|
-shared
|
||||||
|
|
||||||
|
# Uses libgbm from mesa3d
|
||||||
|
ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_EGL),y)
|
||||||
|
QT5BASE_CONFIGURE_OPTS += -kms -gbm
|
||||||
|
QT5BASE_DEPENDENCIES += mesa3d
|
||||||
|
else
|
||||||
|
QT5BASE_CONFIGURE_OPTS += -no-kms
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_ENABLE_DEBUG),y)
|
ifeq ($(BR2_ENABLE_DEBUG),y)
|
||||||
QT5BASE_CONFIGURE_OPTS += -debug
|
QT5BASE_CONFIGURE_OPTS += -debug
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user