diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2013-04-08 18:42:44 -0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-09 13:17:03 +0100 |
commit | 8ceef74dd4f662b4c7e3c170ce486e966ebebeff (patch) | |
tree | 8fd65e6eac9b4702a20d6b20d187c955ecdbc267 /meta/lib | |
parent | 7429db6f38e405774ba66b3fa1bc3ac4b74ae6b9 (diff) | |
download | openembedded-core-8ceef74dd4f662b4c7e3c170ce486e966ebebeff.tar.gz openembedded-core-8ceef74dd4f662b4c7e3c170ce486e966ebebeff.tar.bz2 openembedded-core-8ceef74dd4f662b4c7e3c170ce486e966ebebeff.zip |
base.bbclass: Fix matching of MACHINEOVERRIDES in COMPATIBLE_MACHINE
The use of SOC_FAMILY here is old code and SOC_FAMILY is now implemented by
MACHINEOVERRIDES behind the scenes. It therefore makes more sense to use
the replacement value in this code. Just like SOC_FAMILY, this is a ":"
delimited variable so we should iterate over the components, not use
the value directly.
Finally, MACHINEOVERRIDES contains MACHINE so we don't need to check that
directly.
This makes the functionality match what most users would expect it to do
and is also compatible with the way things previously worked.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
0 files changed, 0 insertions, 0 deletions