summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/cooker.py
diff options
context:
space:
mode:
authorJuro Bystricky <juro.bystricky@intel.com>2017-02-06 08:49:20 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-02-15 20:08:15 -0800
commite98757e267389267d96778a1b443293eae12799e (patch)
tree3fec2b4a9cd74c1f8b39a5cbf714d157b7841308 /bitbake/lib/bb/cooker.py
parentd4b5a70831cffea744c70cc737e2ab52e0f52497 (diff)
downloadpoky-e98757e267389267d96778a1b443293eae12799e.tar.gz
bitbake: cooker.py: run sanity checks for multiconfig
Also run sanity check for all additional multiconfig configurations as listed in BBMULTICONFIG, not just the "default" configuration. [YOCTO#10810] (Bitbake rev: b9777374cbe63cdcf80767033f628c26d23e90f9) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r--bitbake/lib/bb/cooker.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 74607f7192..fd1c629188 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -1638,7 +1638,8 @@ class BBCooker:
1638 if self.state != state.parsing and not self.parsecache_valid: 1638 if self.state != state.parsing and not self.parsecache_valid:
1639 self.parseConfiguration () 1639 self.parseConfiguration ()
1640 if CookerFeatures.SEND_SANITYEVENTS in self.featureset: 1640 if CookerFeatures.SEND_SANITYEVENTS in self.featureset:
1641 bb.event.fire(bb.event.SanityCheck(False), self.data) 1641 for mc in self.multiconfigs:
1642 bb.event.fire(bb.event.SanityCheck(False), self.databuilder.mcdata[mc])
1642 1643
1643 for mc in self.multiconfigs: 1644 for mc in self.multiconfigs:
1644 ignore = self.databuilder.mcdata[mc].getVar("ASSUME_PROVIDED") or "" 1645 ignore = self.databuilder.mcdata[mc].getVar("ASSUME_PROVIDED") or ""