diff --git a/meta-digi-dey/recipes-qt/qt5/qtbase_%.bbappend b/meta-digi-dey/recipes-qt/qt5/qtbase_%.bbappend index 8b78e6616..3e243fdf1 100644 --- a/meta-digi-dey/recipes-qt/qt5/qtbase_%.bbappend +++ b/meta-digi-dey/recipes-qt/qt5/qtbase_%.bbappend @@ -8,6 +8,17 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" SRC_URI_append = " file://qt5.sh" +# Technically, we should add the following patches to imxgpu platforms, but +# doing so duplicates them for imxgpu2d platforms and causes build errors. +# As of now, the only SoC that is imxgpu and not imxgpu2d is the i.MX8MN, so +# append the patches to that SoC only. +SRC_URI_append_mx8mn = " \ + file://0014-Add-IMX-GPU-support.patch \ + file://0001-egl.prf-Fix-build-error-when-egl-headers-need-platfo.patch \ +" + +SRC_URI_remove_imxgpu3d = "file://0016-Configure-eglfs-with-egl-pkg-config.patch" + PACKAGECONFIG_GL_imxpxp = "gles2" PACKAGECONFIG_GL_imxgpu2d = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gl', '', d)}" PACKAGECONFIG_GL_imxgpu3d = "gles2"