diff options
author | Juro Bystricky <juro.bystricky@intel.com> | 2017-02-06 08:49:20 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-03-16 15:34:08 +0000 |
commit | ca020278b39cd1afeb380f7d3f28c39c26d8b2af (patch) | |
tree | 6c945c28568cd1f9b9828ee312e73a74bcfbd688 | |
parent | ca66b08b3b7254dea23d1a8ac9eedbe2396e7f12 (diff) | |
download | poky-ca020278b39cd1afeb380f7d3f28c39c26d8b2af.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: 0f7fdaa8212a8b9f1f089d32e652400d6c4b4822)
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | bitbake/lib/bb/cooker.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 4877c4b644..07897be279 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -1623,7 +1623,8 @@ class BBCooker: | |||
1623 | if self.state != state.parsing and not self.parsecache_valid: | 1623 | if self.state != state.parsing and not self.parsecache_valid: |
1624 | self.parseConfiguration () | 1624 | self.parseConfiguration () |
1625 | if CookerFeatures.SEND_SANITYEVENTS in self.featureset: | 1625 | if CookerFeatures.SEND_SANITYEVENTS in self.featureset: |
1626 | bb.event.fire(bb.event.SanityCheck(False), self.data) | 1626 | for mc in self.multiconfigs: |
1627 | bb.event.fire(bb.event.SanityCheck(False), self.databuilder.mcdata[mc]) | ||
1627 | 1628 | ||
1628 | for mc in self.multiconfigs: | 1629 | for mc in self.multiconfigs: |
1629 | ignore = self.databuilder.mcdata[mc].getVar("ASSUME_PROVIDED", True) or "" | 1630 | ignore = self.databuilder.mcdata[mc].getVar("ASSUME_PROVIDED", True) or "" |