All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-raspberrypi][PATCH] Add recipe to build qtbase for raspberrypi out of the box.
@ 2017-01-19 13:16 Herve Jourdain
  2017-04-03 13:45 ` Andrei Gherzan
  0 siblings, 1 reply; 3+ messages in thread
From: Herve Jourdain @ 2017-01-19 13:16 UTC (permalink / raw)
  To: yocto

Supports different EGLFS_DEVICE_INTEGRATION for userland or vc4

Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
---
 recipes-qt/qt5/qtbase_%.bbappend | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 recipes-qt/qt5/qtbase_%.bbappend

diff --git a/recipes-qt/qt5/qtbase_%.bbappend b/recipes-qt/qt5/qtbase_%.bbappend
new file mode 100644
index 0000000..aebcaf9
--- /dev/null
+++ b/recipes-qt/qt5/qtbase_%.bbappend
@@ -0,0 +1,10 @@
+PACKAGECONFIG_GL_rpi = "gles2 eglfs"
+DEPENDS_${PN}_append_rpi = " virtual/egl"
+
+OE_QTBASE_EGLFS_DEVICE_INTEGRATION = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', 'eglfs_kms', 'eglfs_brcm', d)}"
+
+do_configure_prepend() {
+    # Add the appropriate EGLFS_DEVICE_INTEGRATION, depending if using VC4 or USERLAND
+    echo "EGLFS_DEVICE_INTEGRATION = ${OE_QTBASE_EGLFS_DEVICE_INTEGRATION}" > ${S}/mkspecs/oe-device-extra.pri
+}
+
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-04-03 15:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-19 13:16 [meta-raspberrypi][PATCH] Add recipe to build qtbase for raspberrypi out of the box Herve Jourdain
2017-04-03 13:45 ` Andrei Gherzan
2017-04-03 15:48   ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.