Skip to contentSkip to conversation

qtbase: enable Raspberry Pi support

PATCH Superseded Jonathan Liu 1 participant 1 message Oct 26, 2015

v4 of 5 Superseded Latest is v5 →

lore
Share & tools
lore
#0 lore raw

PATCH v4 1/1 qtbase: enable Raspberry Pi support

[Support #16]

---
 conf/machine/include/rpi-base.inc | 3 +++
 recipes-qt/qt5/qtbase_%.bbappend  | 6 ++++++
 2 files changed, 9 insertions(+)
 create mode 100644 recipes-qt/qt5/qtbase_%.bbappend
conf/machine/include/rpi-base.inc +3 -0
index e097702..b390705 100644
@@ -48,3 +48,6 @@ MACHINE_EXTRA_RRECOMMENDS += " kernel-modules"
 SPLASH = "psplash-raspberrypi"
 
 IMAGE_BOOT_FILES ?= "bcm2835-bootfiles/* ${KERNEL_IMAGETYPE};${SDIMG_KERNELIMAGE}"
+
+# Qt packages are machine specific due to RPi integration
+QT_PACKAGES_ARCH = "${MACHINE_ARCH}"
recipes-qt/qt5/qtbase_%.bbappend new file +6 -0
new file mode 100644
index 0000000..3e5e667
@@ -0,0 +1,6 @@
+do_configure_prepend_rpi() {
+    cat > ${S}/mkspecs/oe-device-extra.pri << 'EOF'
+EGLFS_DEVICE_INTEGRATION = eglfs_brcm
+QMAKE_LIBS_EGL = -lEGL -lGLESv2
+EOF
+}
Signature · 1 line
2.6.1