[yocto] [meta-raspberrypi][PATCH] Add recipe to build qtbase for raspberrypi out of the box.

Andrei Gherzan andrei at gherzan.ro
Mon Apr 3 06:45:14 PDT 2017


On Thu, Jan 19, 2017 at 09:16:05PM +0800, Herve Jourdain wrote:
> Supports different EGLFS_DEVICE_INTEGRATION for userland or vc4
>
> Signed-off-by: Herve Jourdain <herve.jourdain at 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
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

Khem, what do you think about this change?

--
Andrei Gherzan
gpg: rsa4096/D4D94F67AD0E9640 | t: @agherzan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20170403/ee6bee35/attachment.pgp>


More information about the yocto mailing list