diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2016-01-08 14:15:35 -0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2016-04-19 15:03:24 -0300 |
commit | 94b494c1f442ee7b04e7b47bbd6b4583e5bec7fe (patch) | |
tree | 7cbe298d0e037e78daa7a57e831721b75b9e9e36 /dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc | |
parent | 9da4e87c7fd2090dc17f1e6dbaeb44d4364d08b3 (diff) | |
download | meta-freescale-94b494c1f442ee7b04e7b47bbd6b4583e5bec7fe.tar.gz |
qt4: Move BSP related bbappend files to dynamic layer
The Qt4 recipes are now in a specific layer, meta-qt4, so we cannot
append those recipes if the layer is not included.
This moves the bbappend files to the 'qt4-layer' collection, enabling it in
case the collection is available.
Fixes [YOCTO: #8898]
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc')
-rw-r--r-- | dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc | 28 |
1 files changed, 28 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 new file mode 100644 index 00000000..0efb5645 --- /dev/null +++ b/dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc | |||
@@ -0,0 +1,28 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/qt4:" | ||
2 | |||
3 | python __anonymous () { | ||
4 | families = ['mx6'] | ||
5 | cur_families = (d.getVar('SOC_FAMILY', True) or '').split(':') | ||
6 | if any(map(lambda x: x in cur_families, | ||
7 | families)): | ||
8 | d.appendVarFlag('do_configure', 'depends', ' virtual/kernel:do_shared_workdir') | ||
9 | } | ||
10 | |||
11 | SRC_URI_append_mx6 += " \ | ||
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 \ | ||
14 | file://0003-i.MX6-force-egl-visual-ID-33.patch \ | ||
15 | " | ||
16 | |||
17 | DEPENDS_append_mx6 = " virtual/kernel virtual/libgles2" | ||
18 | QT_GLFLAGS_mx6 = "-opengl es2 -openvg" | ||
19 | QT_CONFIG_FLAGS_append_mx6 = " -I${STAGING_KERNEL_DIR}/include/uapi \ | ||
20 | -I${STAGING_KERNEL_DIR}/include/ \ | ||
21 | -DLINUX=1 -DEGL_API_FB=1 \ | ||
22 | -DQT_QPA_EXPERIMENTAL_TOUCHEVENT=1" | ||
23 | |||
24 | # The QT_CONFIG_FLAGS can pollute *.la files with -Dxxx | ||
25 | do_compile_append_mx6 () { | ||
26 | find lib -name "*.la" | xargs -n1 sed -i 's/-D.*=1//g' | ||
27 | } | ||
28 | |||