summaryrefslogtreecommitdiffstats
path: root/meta/classes/multilib.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/multilib.bbclass')
-rw-r--r--meta/classes/multilib.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/multilib.bbclass b/meta/classes/multilib.bbclass
index f2ac8bdfef..7b4d6472b0 100644
--- a/meta/classes/multilib.bbclass
+++ b/meta/classes/multilib.bbclass
@@ -50,7 +50,8 @@ python multilib_virtclass_handler () {
50 if bb.data.inherits_class('nativesdk', e.data) or bb.data.inherits_class('crosssdk', e.data): 50 if bb.data.inherits_class('nativesdk', e.data) or bb.data.inherits_class('crosssdk', e.data):
51 raise bb.parse.SkipRecipe("We can't extend nativesdk recipes") 51 raise bb.parse.SkipRecipe("We can't extend nativesdk recipes")
52 52
53 if bb.data.inherits_class('allarch', e.data) and not bb.data.inherits_class('packagegroup', e.data): 53 if bb.data.inherits_class('allarch', e.data) and not d.getVar('MULTILIB_VARIANTS') \
54 and not bb.data.inherits_class('packagegroup', e.data):
54 raise bb.parse.SkipRecipe("Don't extend allarch recipes which are not packagegroups") 55 raise bb.parse.SkipRecipe("Don't extend allarch recipes which are not packagegroups")
55 56
56 # Expand this since this won't work correctly once we set a multilib into place 57 # Expand this since this won't work correctly once we set a multilib into place