summaryrefslogtreecommitdiffstats
path: root/qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2016-07-01 11:15:40 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2016-09-08 11:00:02 -0300
commit90c00bba1ce3d3df78138c146323c7244099aa26 (patch)
tree9d7aad6f01e7958147c7270dbff4b01401341d54 /qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc
parent0bd6831d1122581ea619314da2cd68830564a64e (diff)
downloadmeta-fsl-arm-90c00bba1ce3d3df78138c146323c7244099aa26.tar.gz
Convert SOC_FAMILY to MACHINEOVERRIDES
The SOC_FAMILY is an indirection which makes the understanding, from OpenEmbedded versed developers and users, more difficult. Instead of using the SOC_FAMILY indirection which is rarely used, we now move to the MACHINEOVERRIDES mechanism as this is in fact what is in use. Change-Id: Ic6e58b79bdc990ac853c87761c3fff635786e4e5 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc')
-rw-r--r--qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc b/qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc
index 0efb564..5c4a39c 100644
--- a/qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc
+++ b/qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc
@@ -2,7 +2,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/qt4:"
2 2
3python __anonymous () { 3python __anonymous () {
4 families = ['mx6'] 4 families = ['mx6']
5 cur_families = (d.getVar('SOC_FAMILY', True) or '').split(':') 5 cur_families = (d.getVar('MACHINEOVERRIDES', True) or '').split(':')
6 if any(map(lambda x: x in cur_families, 6 if any(map(lambda x: x in cur_families,
7 families)): 7 families)):
8 d.appendVarFlag('do_configure', 'depends', ' virtual/kernel:do_shared_workdir') 8 d.appendVarFlag('do_configure', 'depends', ' virtual/kernel:do_shared_workdir')