[yocto] [meta-raspberrypi][PATCH v3] qtbase: enable Raspberry Pi support

Jonathan Liu net147 at gmail.com
Mon Oct 26 03:49:54 PDT 2015


[Support #16]

Signed-off-by: Jonathan Liu <net147 at gmail.com>
---
 recipes-qt/qt5/qtbase_%.bbappend | 8 ++++++++
 1 file changed, 8 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..b20138a
--- /dev/null
+++ b/recipes-qt/qt5/qtbase_%.bbappend
@@ -0,0 +1,8 @@
+PACKAGE_ARCH_rpi = "${MACHINE_ARCH}"
+
+do_configure_prepend_rpi() {
+    cat > ${S}/mkspecs/oe-device-extra.pri << 'EOF'
+EGLFS_DEVICE_INTEGRATION = eglfs_brcm
+QMAKE_LIBS_EGL = -lEGL -lGLESv2
+EOF
+}
-- 
2.6.1




More information about the yocto mailing list