From 12b98cb4c068c16caee20c278c262915fc2124c5 Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Wed, 1 Apr 2015 15:59:43 -0300 Subject: qt4: Ensure kernel source is available During Qt4 build the kernel source needs to be available so a explicit dependency has to be added. Change-Id: I66dbd0a9d8ac75e300d0baa44410a629e160b8d7 Signed-off-by: Otavio Salvador --- recipes-qt/qt4/qt4-imx-support.inc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'recipes-qt') diff --git a/recipes-qt/qt4/qt4-imx-support.inc b/recipes-qt/qt4/qt4-imx-support.inc index 7ba4aea..69ad67b 100644 --- a/recipes-qt/qt4/qt4-imx-support.inc +++ b/recipes-qt/qt4/qt4-imx-support.inc @@ -1,5 +1,13 @@ 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 \ -- cgit v1.2.3-54-g00ecf