]> code.ossystems Code Review - openembedded-core.git/commit
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 15:53:52 +0000 (16:53 +0100)
commit1416613e94af46c6e74532bca0f026d1540becbb
treeabad07612fc1a66718c5bca5c1d73f7464c09dd1
parent45e22312c48b23480bd6dff98702b0691a48f7d1
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.

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