diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2016-07-01 11:15:40 -0300 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2016-09-08 11:24:24 -0300 |
commit | 6de06b07e594e3642fc97cafbcd1b98e231b2f39 (patch) | |
tree | 0cbb43d5327ea1875d1a89121c1f1c71867d7bcd /dynamic-layers | |
parent | c23736b343f1ee549870584b8f53f085deabffe4 (diff) | |
download | meta-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')
-rw-r--r-- | dynamic-layers/qt4-layer/recipes-qt4/qt4/qt4-imx-support.inc | 2 |
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 | ||
3 | python __anonymous () { | 3 | python __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') |