diff options
author | Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp> | 2016-06-01 12:38:09 +0900 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-07-05 12:43:57 +0200 |
commit | 7e2fdc14a1317d52d57f97d83ffb2651b05431cd (patch) | |
tree | 962246941961da431f09a299db3f0a98ea518182 /package | |
parent | fc832dd126cee6288e68b58ae71c587b3a20b3d5 (diff) | |
download | buildroot-7e2fdc14a1317d52d57f97d83ffb2651b05431cd.tar.gz buildroot-7e2fdc14a1317d52d57f97d83ffb2651b05431cd.zip |
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>
Diffstat (limited to 'package')
-rw-r--r-- | package/qt5/qt5base/qt5base.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/package/qt5/qt5base/qt5base.mk b/package/qt5/qt5base/qt5base.mk index 783cf3c75d..bf541b0f8e 100644 --- a/package/qt5/qt5base/qt5base.mk +++ b/package/qt5/qt5base/qt5base.mk @@ -20,7 +20,6 @@ QT5BASE_INSTALL_STAGING = YES # want to use the one packaged in Buildroot QT5BASE_CONFIGURE_OPTS += \ -optimized-qmake \ - -no-kms \ -no-cups \ -no-nis \ -no-iconv \ @@ -29,6 +28,14 @@ QT5BASE_CONFIGURE_OPTS += \ -no-pch \ -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) QT5BASE_CONFIGURE_OPTS += -debug else |