diff options
Diffstat (limited to 'recipes-qt/qt4/qt4-imx-support.inc')
-rw-r--r-- | recipes-qt/qt4/qt4-imx-support.inc | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes-qt/qt4/qt4-imx-support.inc b/recipes-qt/qt4/qt4-imx-support.inc new file mode 100644 index 00000000..69ad67ba --- /dev/null +++ b/recipes-qt/qt4/qt4-imx-support.inc @@ -0,0 +1,28 @@ +FILESEXTRAPATHS_prepend := "${THISDIR}/qt4:" + +python __anonymous () { + families = ['mx5', 'mx6'] + cur_families = (d.getVar('SOC_FAMILY', True) or '').split(':') + if any(map(lambda x: x in cur_families, + families)): + d.appendVarFlag('do_configure', 'depends', ' virtual/kernel:do_shared_workdir') +} + +SRC_URI_append_mx5 += "file://0001-Add-support-for-i.MX-codecs-to-phonon.patch" +SRC_URI_append_mx6 += " \ + file://0001-Add-support-for-i.MX-codecs-to-phonon.patch \ + file://0002-i.MX-video-renderer-Allow-v4l-device-from-environmen.patch \ + file://0003-i.MX6-force-egl-visual-ID-33.patch \ +" + +DEPENDS_append_mx5 = " virtual/kernel virtual/libgles2" +QT_GLFLAGS_mx5 = "-opengl es2 -openvg" +QT_CONFIG_FLAGS_append_mx5 = " -I${STAGING_KERNEL_DIR}/include/" + +DEPENDS_append_mx6 = " virtual/kernel virtual/libgles2" +QT_GLFLAGS_mx6 = "-opengl es2 -openvg" +QT_CONFIG_FLAGS_append_mx6 = " -I${STAGING_KERNEL_DIR}/include/uapi \ + -I${STAGING_KERNEL_DIR}/include/ \ + -DLINUX=1 -DEGL_API_FB=1 \ + -DQT_QPA_EXPERIMENTAL_TOUCHEVENT=1" + |