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:00 +0000 |
commit | 0f7fdaa8212a8b9f1f089d32e652400d6c4b4822 (patch) | |
tree | cfc87830a279fd43371723b0f6b51ede6285c529 | |
parent | 3e80d47bea51b64ed6c8bffc033f2d11a630481e (diff) | |
download | bitbake-contrib-0f7fdaa8212a8b9f1f089d32e652400d6c4b4822.tar.gz |
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]
Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | lib/bb/cooker.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py index 4877c4b64..07897be27 100644 --- a/lib/bb/cooker.py +++ b/lib/bb/cooker.py @@ -1623,7 +1623,8 @@ class BBCooker: if self.state != state.parsing and not self.parsecache_valid: self.parseConfiguration () if CookerFeatures.SEND_SANITYEVENTS in self.featureset: - bb.event.fire(bb.event.SanityCheck(False), self.data) + for mc in self.multiconfigs: + bb.event.fire(bb.event.SanityCheck(False), self.databuilder.mcdata[mc]) for mc in self.multiconfigs: ignore = self.databuilder.mcdata[mc].getVar("ASSUME_PROVIDED", True) or "" |