qtbase: enable Raspberry Pi support
PATCH v5 1/1 qtbase: enable Raspberry Pi support
[Support #16]
--- conf/machine/include/rpi-base.inc | 3 +++ recipes-qt/qt5/qtbase_%.bbappend | 8 ++++++++ 2 files changed, 11 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 +8 -0
@@ -0,0 +1,8 @@ +do_configure_prepend_rpi() { + cat > ${S}/mkspecs/oe-device-extra.pri << 'EOF' +EGLFS_DEVICE_INTEGRATION = eglfs_brcm +QMAKE_INCDIR_EGL = $$[QT_SYSROOT]${includedir}/interface/vmcs_host/linux +QMAKE_INCDIR_OPENGL_ES2 = $${QMAKE_INCDIR_EGL} +QMAKE_LIBS_EGL = -lEGL -lGLESv2 +EOF +}
Signature · 1 line
2.6.2
Quoted 26 lines · Jonathan Liu
[Support #16]
Signed-off-by Jonathan Liu <[email protected]>--- conf/machine/include/rpi-base.inc | 3 +++ recipes-qt/qt5/qtbase_%.bbappend | 8 ++++++++ 2 files changed, 11 insertions(+) create mode 100644 recipes-qt/qt5/qtbase_%.bbappendconf/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 +0
-0
recipes-qt/qt5/qtbase_%.bbappend line 3
Quoted 3 lines
recipes-qt/qt5/qtbase_%.bbappend new file +3
-0@@ -0,0 +1,8 @@ +do_configure_prepend_rpi() { + cat > ${S}/mkspecs/oe-device-extra.pri << 'EOF' +EGLFS_DEVICE_INTEGRATION = eglfs_brcm
should this should be controlled based on a knob for userspace binary driver or open source kernel driver is used.
Quoted 13 lines
recipes-qt/qt5/qtbase_%.bbappend new file +5
-1+QMAKE_INCDIR_EGL = $$[QT_SYSROOT]${includedir}/interface/vmcs_host/linux +QMAKE_INCDIR_OPENGL_ES2 = $${QMAKE_INCDIR_EGL} +QMAKE_LIBS_EGL = -lEGL -lGLESv2 +EOF +} --2.6.2
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Quoted 17 lines · Khem Raj
Quoted 16 lines · Jonathan Liu
[Support #16]
Signed-off-by Jonathan Liu <[email protected]>--- conf/machine/include/rpi-base.inc | 3 +++ recipes-qt/qt5/qtbase_%.bbappend | 8 ++++++++ 2 files changed, 11 insertions(+)create mode 100644 recipes-qt/qt5/qtbase_%.bbappend
conf/machine/include/rpi-base.inc +0
-0@@ -48,3 +48,6 @@ MACHINE_EXTRA_RRECOMMENDS += " kernel-modules" SPLASH = "psplash-raspberrypi"
Quoted 15 lines
recipes-qt/qt5/qtbase_%.bbappend line 3
Quoted 13 lines
conf/machine/include/rpi-base.inc +3
-0IMAGE_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 +3
-0@@ -0,0 +1,8 @@ +do_configure_prepend_rpi() { + cat > ${S}/mkspecs/oe-device-extra.pri << 'EOF' +EGLFS_DEVICE_INTEGRATION = eglfs_brcmshould this should be controlled based on a knob for userspace binary driver or open source kernel driver is used.
I am not sure whether the open source kernel driver is complete enough. Have you tested it? Do you have any patch to get it running with Qt?
Quoted 14 lines
Quoted 14 lines
recipes-qt/qt5/qtbase_%.bbappend new file +5
-1+QMAKE_INCDIR_EGL = $$[QT_SYSROOT]${includedir}/interface/vmcs_host/linux +QMAKE_INCDIR_OPENGL_ES2 = $${QMAKE_INCDIR_EGL} +QMAKE_LIBS_EGL = -lEGL -lGLESv2 +EOF +} --2.6.2
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Quoted 40 lines · Jonathan Liu
Quoted 29 lines · Khem Raj
Quoted 27 lines · Jonathan Liu
[Support #16]
Signed-off-by Jonathan Liu <[email protected]>--- conf/machine/include/rpi-base.inc | 3 +++ recipes-qt/qt5/qtbase_%.bbappend | 8 ++++++++ 2 files changed, 11 insertions(+)create mode 100644 recipes-qt/qt5/qtbase_%.bbappend
conf/machine/include/rpi-base.inc +0
-0@@ -48,3 +48,6 @@ MACHINE_EXTRA_RRECOMMENDS += " kernel-modules" SPLASH = "psplash-raspberrypi" IMAGE_BOOT_FILES ?= "bcm2835-bootfiles/*${KERNEL_IMAGETYPE};${SDIMG_KERNELIMAGE}"
conf/machine/include/rpi-base.inc +3
-0+ +# Qt packages are machine specific due to RPi integration +QT_PACKAGES_ARCH = "${MACHINE_ARCH}"recipes-qt/qt5/qtbase_%.bbappend new file +0
-1--- /dev/nullQuoted 9 lines
recipes-qt/qt5/qtbase_%.bbappend line 3
Quoted 6 lines
+++ b/recipes-qt/qt5/qtbase_%.bbappend
recipes-qt/qt5/qtbase_%.bbappend new file +3
-0@@ -0,0 +1,8 @@ +do_configure_prepend_rpi() { + cat > ${S}/mkspecs/oe-device-extra.pri << 'EOF' +EGLFS_DEVICE_INTEGRATION = eglfs_brcmshould this should be controlled based on a knob for userspace binary driver or open source kernel driver is used.
Quoted 2 lines
I am not sure whether the open source kernel driver is complete enough. Have you tested it? Do you have any patch to get it running with Qt?
It works or not is not the point. The fact it exists we need to make adjustment for it
Quoted 17 lines
Quoted 16 lines
+QMAKE_INCDIR_EGL = $$[QT_SYSROOT]${includedir}/interface/vmcs_host/linux
Quoted 13 lines
recipes-qt/qt5/qtbase_%.bbappend new file +4
-1+QMAKE_INCDIR_OPENGL_ES2 = $${QMAKE_INCDIR_EGL} +QMAKE_LIBS_EGL = -lEGL -lGLESv2 +EOF +} --2.6.2
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto
Andrei Gherzan
AppliedQuoted 4 lines · Jonathan Liu
[Support #16]
Signed-off-by Jonathan Liu <[email protected]>---
Merged to master. Thank you.
Signature · 1 line
Andrei Gherzan
Quoted 8 lines · Andrei Gherzan
Quoted 4 lines · Jonathan Liu
[Support #16]
Signed-off-by Jonathan Liu <[email protected]>---
Merged to master. Thank you.
Ignore this. It was not merged. Messed up the threads. Sorry for the noise.
Quoted 2 lines
Signature · 1 line
Andrei Gherzan
Signature · 1 line
Andrei Gherzan