diff options
Diffstat (limited to 'meta/classes/multilib.bbclass')
-rw-r--r-- | meta/classes/multilib.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass index 09c08eddd0..f5f3c69363 100644 --- a/meta/classes/multilib.bbclass +++ b/meta/classes/multilib.bbclass | |||
@@ -31,6 +31,9 @@ python multilib_virtclass_handler () { | |||
31 | if bb.data.inherits_class('nativesdk', e.data) or bb.data.inherits_class('crosssdk', e.data): | 31 | if bb.data.inherits_class('nativesdk', e.data) or bb.data.inherits_class('crosssdk', e.data): |
32 | raise bb.parse.SkipPackage("We can't extend nativesdk recipes") | 32 | raise bb.parse.SkipPackage("We can't extend nativesdk recipes") |
33 | 33 | ||
34 | if bb.data.inherits_class('allarch', e.data) and not bb.data.inherits_class('packagegroup', e.data): | ||
35 | raise bb.parse.SkipPackage("Don't extend allarch recipes which are not packagegroups") | ||
36 | |||
34 | save_var_name=e.data.getVar("MULTILIB_SAVE_VARNAME", True) or "" | 37 | save_var_name=e.data.getVar("MULTILIB_SAVE_VARNAME", True) or "" |
35 | for name in save_var_name.split(): | 38 | for name in save_var_name.split(): |
36 | val=e.data.getVar(name, True) | 39 | val=e.data.getVar(name, True) |