From dc7d181ab03ceab87a24d932130109003334dbf8 Mon Sep 17 00:00:00 2001 From: Bruce Ashfield Date: Thu, 31 Jan 2013 13:31:04 -0500 Subject: 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. Signed-off-by: Bruce Ashfield Signed-off-by: Mark Hatle Signed-off-by: Richard Purdie --- meta/lib/oe/classextend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/lib') diff --git a/meta/lib/oe/classextend.py b/meta/lib/oe/classextend.py index 19e1254637..61cbb8fdf3 100644 --- a/meta/lib/oe/classextend.py +++ b/meta/lib/oe/classextend.py @@ -5,7 +5,7 @@ class ClassExtender(object): self.pkgs_mapping = [] def extend_name(self, name): - if name.startswith("kernel-module"): + if name.startswith("kernel-module") or name == "virtual/kernel": return name if name.startswith("rtld"): return name -- cgit v1.2.3