diff options
| author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-01-31 13:31:04 -0500 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-01 15:54:00 +0000 |
| commit | 12e76e123f66c36910f1fadece620024b2264a26 (patch) | |
| tree | 4a649948e24678915648e2089968019c1f61de21 /meta/lib/oe/classextend.py | |
| parent | dbfa6f9563cb79a9c3db4a0f0c8c503fa3b3f29f (diff) | |
| download | poky-12e76e123f66c36910f1fadece620024b2264a26.tar.gz | |
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>
Diffstat (limited to 'meta/lib/oe/classextend.py')
| -rw-r--r-- | meta/lib/oe/classextend.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): | |||
| 5 | self.pkgs_mapping = [] | 5 | self.pkgs_mapping = [] |
| 6 | 6 | ||
| 7 | def extend_name(self, name): | 7 | def extend_name(self, name): |
| 8 | if name.startswith("kernel-module"): | 8 | if name.startswith("kernel-module") or name == "virtual/kernel": |
| 9 | return name | 9 | return name |
| 10 | if name.startswith("rtld"): | 10 | if name.startswith("rtld"): |
| 11 | return name | 11 | return name |
