base.bbclass: Update the preferred_ml_updates
authorMark Hatle <mark.hatle@windriver.com>
Tue, 19 Mar 2013 20:20:59 +0000 (15:20 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 3 Apr 2013 16:01:12 +0000 (17:01 +0100)
commit76678ce7c7cd2c28d5b510e5bfb7741a948c8782
tree6d3125e0ab55388a7c329d4a692694d2bb15e1a3
parentf3a264fd7a5186425e44d73c1953c28041ac5299
base.bbclass: Update the preferred_ml_updates

When processing the blacklists, we should avoid cross-canadian packages, as they
will not have any multilib prefixes to expand.

Similarly look for "virtual/nativesdk-" in addition to the existing "nativesdk-".
These items should also be ignored.

Finally, in order to avoid undeterministic variable key expansion, such as:

MYVAR = "foo"

PREFERRED_PROVIDER_${MYVAR} = "bar"
PREFERRED_PROVIDER_foo = "foobar"

during the multilib processing of PREFERRED_VERSION and PREFERRED_PROVIDER,
the code was changed to rename the variable key, to the final key.  This along
with the existing code avoids the problems.

(From OE-Core rev: 1416613e94af46c6e74532bca0f026d1540becbb)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/base.bbclass