qtbase: enable Raspberry Pi support
PATCH v4 1/1 qtbase: enable Raspberry Pi support
[Support #16]
Signed-off-by Jonathan Liu <[email protected]>
--- 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
@@ -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
@@ -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