|
@@ -10,7 +10,9 @@ python multilib_virtclass_handler () {
|
|
|
e.data.setVar('STAGING_KERNEL_DIR', e.data.getVar('STAGING_KERNEL_DIR', True))
|
|
|
|
|
|
# There should only be one kernel in multilib configs
|
|
|
- if bb.data.inherits_class('kernel', e.data) or bb.data.inherits_class('module-base', e.data):
|
|
|
+ # We also skip multilib setup for module packages.
|
|
|
+ provides = (e.data.getVar("PROVIDES", True) or "").split()
|
|
|
+ if "virtual/kernel" in provides or bb.data.inherits_class('module-base', e.data):
|
|
|
raise bb.parse.SkipPackage("We shouldn't have multilib variants for the kernel")
|
|
|
|
|
|
if bb.data.inherits_class('image', e.data):
|