base.bbclass: Fix multilib PREFERRED_VERSION handling
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 7 May 2014 14:03:18 +0000 (15:03 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 7 May 2014 14:10:58 +0000 (15:10 +0100)
commitc4aff268127449ac7084daa2bfb51b6b50e1af8c
treedded23b245aa2440f8bb2a6e8dbb7918df6ab6bc
parent4e4b23d13207badbc8fc53b8e06c134ee78660ac
base.bbclass: Fix multilib PREFERRED_VERSION handling

Now that gcc-cross, gcc-crosssdk and others have expanded variables in
their names, the code that previous just applied to cross-canadian needs
expanding to cover the other cases. Improve the conditional and also
fix a bug where the multilib prefix wasn't being added into the generated
versions.

(From OE-Core rev: d2b18d7692229d4b87b38becf173b1f8b6e90025)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/base.bbclass