diff options
author | Juro Bystricky <juro.bystricky@intel.com> | 2017-02-06 08:49:20 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-02-13 02:47:40 -0800 |
commit | b9777374cbe63cdcf80767033f628c26d23e90f9 (patch) | |
tree | 0fe13f382eb6d135b48cda36affdb3ef51500166 /lib/bb/cooker.py | |
parent | 6a3f6f1b5cc9ec69b28bebf70daed7579c60cd9e (diff) | |
download | bitbake-contrib-b9777374cbe63cdcf80767033f628c26d23e90f9.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>
Diffstat (limited to 'lib/bb/cooker.py')
-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 74607f719..fd1c62918 100644 --- a/lib/bb/cooker.py +++ b/lib/bb/cooker.py @@ -1638,7 +1638,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") or "" |