diff options
-rw-r--r-- | bitbake/lib/bb/cooker.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index e0cbed5378..0008c2fde1 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -638,9 +638,13 @@ class BBCooker: | |||
638 | runlist.append([mc, k, ktask, fn]) | 638 | runlist.append([mc, k, ktask, fn]) |
639 | bb.event.fire(bb.event.TreeDataPreparationProgress(current, len(fulltargetlist)), self.data) | 639 | bb.event.fire(bb.event.TreeDataPreparationProgress(current, len(fulltargetlist)), self.data) |
640 | 640 | ||
641 | havemc = False | ||
642 | for mc in self.multiconfigs: | ||
643 | if taskdata[mc].get_mcdepends(): | ||
644 | havemc = True | ||
641 | 645 | ||
642 | # No need to do check providers if there are no mcdeps or not an mc build | 646 | # No need to do check providers if there are no mcdeps or not an mc build |
643 | if len(self.multiconfigs) > 1: | 647 | if havemc or len(self.multiconfigs) > 1: |
644 | seen = set() | 648 | seen = set() |
645 | new = True | 649 | new = True |
646 | # Make sure we can provide the multiconfig dependency | 650 | # Make sure we can provide the multiconfig dependency |