summaryrefslogtreecommitdiffstats
path: root/dynamic-layers/qt4-layer
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:24:24 -0300
commit6de06b07e594e3642fc97cafbcd1b98e231b2f39 (patch)
tree0cbb43d5327ea1875d1a89121c1f1c71867d7bcd /dynamic-layers/qt4-layer
parentc23736b343f1ee549870584b8f53f085deabffe4 (diff)
downloadmeta-freescale-6de06b07e594e3642fc97cafbcd1b98e231b2f39.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 'dynamic-layers/qt4-layer')
-rw-r--r--dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc2
1 files changed, 1 insertions, 1 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 0efb5645..5c4a39c8 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
@@ -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')