diff options
Diffstat (limited to 'meta/classes/multilib_global.bbclass')
-rw-r--r-- | meta/classes/multilib_global.bbclass | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/multilib_global.bbclass b/meta/classes/multilib_global.bbclass index 1263e4ea82..ed14565a64 100644 --- a/meta/classes/multilib_global.bbclass +++ b/meta/classes/multilib_global.bbclass | |||
@@ -7,11 +7,15 @@ python multilib_virtclass_handler_global () { | |||
7 | if isinstance(e, bb.event.RecipeParsed) and not variant: | 7 | if isinstance(e, bb.event.RecipeParsed) and not variant: |
8 | if bb.data.inherits_class('kernel', e.data) or bb.data.inherits_class('module-base', e.data) or bb.data.inherits_class('allarch', e.data): | 8 | if bb.data.inherits_class('kernel', e.data) or bb.data.inherits_class('module-base', e.data) or bb.data.inherits_class('allarch', e.data): |
9 | origprovs = provs = e.data.getVar("PROVIDES", True) | 9 | origprovs = provs = e.data.getVar("PROVIDES", True) |
10 | rprovs = e.data.getVar("RPROVIDES", True) | ||
10 | variants = (e.data.getVar("MULTILIB_VARIANTS", True) or "").split() | 11 | variants = (e.data.getVar("MULTILIB_VARIANTS", True) or "").split() |
11 | for variant in variants: | 12 | for variant in variants: |
12 | provs = provs + " " + multilib_map_variable("PROVIDES", variant, e.data) | 13 | provs = provs + " " + multilib_map_variable("PROVIDES", variant, e.data) |
14 | for pkg in e.data.getVar("PACKAGES", True).split(): | ||
15 | rprovs = rprovs + " " + variant + "-" + pkg | ||
13 | e.data.setVar("PROVIDES", origprovs) | 16 | e.data.setVar("PROVIDES", origprovs) |
14 | e.data.setVar("PROVIDES", provs) | 17 | e.data.setVar("PROVIDES", provs) |
18 | e.data.setVar("RPROVIDES", rprovs) | ||
15 | } | 19 | } |
16 | 20 | ||
17 | addhandler multilib_virtclass_handler_global | 21 | addhandler multilib_virtclass_handler_global |