multilib: skip packages that provide virtual/kernel
authorBruce Ashfield <bruce.ashfield@windriver.com>
Thu, 31 Jan 2013 18:31:04 +0000 (13:31 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 1 Feb 2013 15:54:00 +0000 (15:54 +0000)
commitb62d090221a076f21a608a8b009d9955cb408e9f
treed5620bc3d6219ae07be3366b3366867b9220da1e
parent2b624cca58e0eb8283f9fe835d347a15efc6b6b2
multilib: skip packages that provide virtual/kernel

Rather than keying on recipes that inherit kernel.bbclass, we should
be checking for providers of virtual/kernel when skipping kernel
recipes in multlib builds.

Not all providers of virtual/kernel inherit kernel.bbclass (notably
linux-dummy), so checking on the provider is a more complete check.

We need to be sure to check for inheritance of module-base as well, this
allows for packages that provides modules to avoid the multilib renaming.

(From OE-Core rev: dc7d181ab03ceab87a24d932130109003334dbf8)

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/multilib.bbclass
meta/lib/oe/classextend.py