buildroot.busybox.net archive mirror
 help / color / mirror / Atom feed
From: Miquel Raynal <miquel.raynal@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 6/7] package/qt5: generalize the condition on which EGLFS KMS gets supported
Date: Fri,  6 Mar 2020 08:14:39 +0100	[thread overview]
Message-ID: <20200306071440.30433-7-miquel.raynal@bootlin.com> (raw)
In-Reply-To: <20200306071440.30433-1-miquel.raynal@bootlin.com>

BR2_PACKAGE_HAS_LIBEGL indicates that the virtual libegl packet is
enabled. This packet may be provided by mesa3d (this is actually what
happens when selecting BR2_PACKAGE_MESA3D_OPENGL_EGL) but
other providers may exist.

Generalize the condition on which EGLFS KMS support is added to Qt5 to
allow rockchip-mali-bifrost (and potentially other) to use the KMS
back-end.

Suggested-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
---
 package/qt5/qt5base/qt5base.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/qt5/qt5base/qt5base.mk b/package/qt5/qt5base/qt5base.mk
index 8803a4821e..ad01c7c843 100644
--- a/package/qt5/qt5base/qt5base.mk
+++ b/package/qt5/qt5base/qt5base.mk
@@ -295,7 +295,7 @@ QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_XML)        += Qt5Xml
 QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_OPENGL_LIB) += Qt5OpenGL
 ifeq ($(BR2_PACKAGE_QT5_VERSION_LATEST),y)
 QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_EGLFS)      += Qt5EglFSDeviceIntegration
-ifeq ($(BR2_PACKAGE_MESA3D_OPENGL_EGL),y)
+ifeq ($(BR2_PACKAGE_HAS_LIBEGL),y)
 QT5BASE_INSTALL_LIBS_$(BR2_PACKAGE_QT5BASE_EGLFS)      += Qt5EglFsKmsSupport
 endif
 ifeq ($(BR2_PACKAGE_GCNANO_BINARIES),y)
-- 
2.20.1

  parent reply	other threads:[~2020-03-06  7:14 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-06  7:14 [Buildroot] [PATCH 0/7] Rockchip Mali Bifrost GPU support Miquel Raynal
2020-03-06  7:14 ` [Buildroot] [PATCH 1/7] package/sunxi-mali-utgard: rename from sunxi-mali-mainline Miquel Raynal
2020-03-06  7:14 ` [Buildroot] [PATCH 2/7] package/sunxi-mali-utgard-driver: rename from sunxi-mali-mainline-driver Miquel Raynal
2020-03-06  7:14 ` [Buildroot] [PATCH 3/7] package/rockchip-mali-bifrost: new package with binary blobs Miquel Raynal
2022-01-08 16:20   ` Thomas Petazzoni
2020-03-06  7:14 ` [Buildroot] [PATCH 4/7] package/mali-bifrost-driver: new package Miquel Raynal
2021-12-30 14:14   ` Thomas Petazzoni
2021-12-30 15:28     ` Giulio Benetti
2021-12-30 16:08       ` Thomas Petazzoni
2021-12-30 16:45         ` Giulio Benetti
2022-01-08 18:07   ` Thomas Petazzoni
2020-03-06  7:14 ` [Buildroot] [PATCH 5/7] package/qt5: make it possible to use rockchip-mali-bifrost as GBM provider Miquel Raynal
2022-01-08 18:08   ` Thomas Petazzoni
2020-03-06  7:14 ` Miquel Raynal [this message]
2022-01-08 18:12   ` [Buildroot] [PATCH 6/7] package/qt5: generalize the condition on which EGLFS KMS gets supported Thomas Petazzoni
2020-03-06  7:14 ` [Buildroot] [PATCH 7/7] package/qt5: allows using rockchip-mali-bifrost as OpenGL/KMS provider Miquel Raynal
2022-01-08 18:28   ` Thomas Petazzoni
2021-09-21 21:24 ` [Buildroot] [PATCH 0/7] Rockchip Mali Bifrost GPU support Giulio Benetti

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200306071440.30433-7-miquel.raynal@bootlin.com \
    --to=miquel.raynal@bootlin.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).