mirror of
https://git.yoctoproject.org/poky
synced 2026-05-09 17:39:31 +00:00
multilib: Don't extend make-mod-scripts as a multilib version doesn't make any sense
The multilib version would race against then non-ml version leading to all kinds of odd build failures. (From OE-Core rev: 6bb70bd3857edb8cb6cc1317f57b899a89be2653) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -11,7 +11,7 @@ python multilib_virtclass_handler () {
|
|||||||
# There should only be one kernel in multilib configs
|
# There should only be one kernel in multilib configs
|
||||||
# We also skip multilib setup for module packages.
|
# We also skip multilib setup for module packages.
|
||||||
provides = (e.data.getVar("PROVIDES") or "").split()
|
provides = (e.data.getVar("PROVIDES") or "").split()
|
||||||
if "virtual/kernel" in provides or bb.data.inherits_class('module-base', e.data):
|
if "virtual/kernel" in provides or bb.data.inherits_class('module-base', e.data) or "make-mod-scripts" in e.data.getVar("PN"):
|
||||||
raise bb.parse.SkipRecipe("We shouldn't have multilib variants for the kernel")
|
raise bb.parse.SkipRecipe("We shouldn't have multilib variants for the kernel")
|
||||||
|
|
||||||
save_var_name=e.data.getVar("MULTILIB_SAVE_VARNAME") or ""
|
save_var_name=e.data.getVar("MULTILIB_SAVE_VARNAME") or ""
|
||||||
|
|||||||
Reference in New Issue
Block a user