summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2022-09-28 12:56:51 -0300
committerGitHub <noreply@github.com>2022-09-28 12:56:51 -0300
commitf33c98a8df0c417d92c8790f9e660e04e897c1a5 (patch)
tree4f19193bd49edf441b526736ec2b69275d4e92f4
parentc2a13e5d18216233a7062b779683030efdb99b74 (diff)
parent6a2db87bfe86d1fcccf1f5eece55b876b2544106 (diff)
downloadmeta-freescale-f33c98a8df0c417d92c8790f9e660e04e897c1a5.tar.gz
Merge pull request #1234 from Freescale/backport-1232-to-kirkstone
[Backport kirkstone] qt4-imx-support: fix build for imxgpu2d SOCs
-rw-r--r--dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc2
-rw-r--r--dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/egl-pro-add-defines-to-compile-with-viv-fb.patch9
-rw-r--r--dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/egl4gles1-pro-add-defines-to-compile-with-viv-fb.patch9
3 files changed, 20 insertions, 0 deletions
diff --git a/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc b/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc
index 03e09e57..ac009a3a 100644
--- a/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc
+++ b/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc
@@ -12,6 +12,8 @@ SRC_URI:append:imxgpu2d += " \
12 file://0001-Add-support-for-i.MX-codecs-to-phonon.patch \ 12 file://0001-Add-support-for-i.MX-codecs-to-phonon.patch \
13 file://0002-i.MX-video-renderer-Allow-v4l-device-from-environmen.patch \ 13 file://0002-i.MX-video-renderer-Allow-v4l-device-from-environmen.patch \
14 file://0003-i.MX6-force-egl-visual-ID-33.patch \ 14 file://0003-i.MX6-force-egl-visual-ID-33.patch \
15 file://egl-pro-add-defines-to-compile-with-viv-fb.patch \
16 file://egl4gles1-pro-add-defines-to-compile-with-viv-fb.patch \
15" 17"
16 18
17DEPENDS:append:imxgpu2d = " virtual/kernel virtual/libgles2" 19DEPENDS:append:imxgpu2d = " virtual/kernel virtual/libgles2"
diff --git a/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/egl-pro-add-defines-to-compile-with-viv-fb.patch b/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/egl-pro-add-defines-to-compile-with-viv-fb.patch
new file mode 100644
index 00000000..e512fd47
--- /dev/null
+++ b/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/egl-pro-add-defines-to-compile-with-viv-fb.patch
@@ -0,0 +1,9 @@
1--- a/config.tests/unix/egl/egl.pro 2015-05-07 16:14:42.000000000 +0200
2+++ b/config.tests/unix/egl/egl.pro 2022-09-28 15:36:53.819893439 +0200
3@@ -6,5 +6,6 @@ for(p, QMAKE_LIBDIR_EGL) {
4
5 !isEmpty(QMAKE_INCDIR_EGL): INCLUDEPATH += $$QMAKE_INCDIR_EGL
6 !isEmpty(QMAKE_LIBS_EGL): LIBS += $$QMAKE_LIBS_EGL
7+DEFINES += LINUX=1 EGL_API_FB=1
8
9 CONFIG -= qt
diff --git a/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/egl4gles1-pro-add-defines-to-compile-with-viv-fb.patch b/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/egl4gles1-pro-add-defines-to-compile-with-viv-fb.patch
new file mode 100644
index 00000000..61b40eb7
--- /dev/null
+++ b/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4/egl4gles1-pro-add-defines-to-compile-with-viv-fb.patch
@@ -0,0 +1,9 @@
1--- a/config.tests/unix/egl4gles1/egl4gles1.pro 2015-05-07 16:14:42.000000000 +0200
2+++ b/config.tests/unix/egl4gles1/egl4gles1.pro 2022-09-28 15:36:53.827893490 +0200
3@@ -6,5 +6,6 @@ for(p, QMAKE_LIBDIR_EGL) {
4
5 !isEmpty(QMAKE_INCDIR_EGL): INCLUDEPATH += $$QMAKE_INCDIR_EGL
6 !isEmpty(QMAKE_LIBS_EGL): LIBS += $$QMAKE_LIBS_EGL
7+DEFINES += LINUX=1 EGL_API_FB=1
8
9 CONFIG -= qt