mirror of
https://git.yoctoproject.org/poky
synced 2026-04-27 03:32:12 +02:00
bitbake: cooker: Ensure mcdeps are processed even if only one multiconfig
If you have no BBMULTICONFIG set but set mcdepends, they're currently ignored. We can handle them correctly with this small tweak. (Bitbake rev: 578f0c02f6a13f4315e7c2ce8b5e876dd2025055) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -638,9 +638,13 @@ class BBCooker:
|
||||
runlist.append([mc, k, ktask, fn])
|
||||
bb.event.fire(bb.event.TreeDataPreparationProgress(current, len(fulltargetlist)), self.data)
|
||||
|
||||
havemc = False
|
||||
for mc in self.multiconfigs:
|
||||
if taskdata[mc].get_mcdepends():
|
||||
havemc = True
|
||||
|
||||
# No need to do check providers if there are no mcdeps or not an mc build
|
||||
if len(self.multiconfigs) > 1:
|
||||
if havemc or len(self.multiconfigs) > 1:
|
||||
seen = set()
|
||||
new = True
|
||||
# Make sure we can provide the multiconfig dependency
|
||||
|
||||
Reference in New Issue
Block a user