[bitbake-devel] [PATCH 1/2] cooker.py: run sanity checks for multiconfig
Juro Bystricky
juro.bystricky at intel.com
Thu Jan 12 19:23:56 UTC 2017
Also run sanity check for all multiconfig configurations as listed in
BBMULTICONFIG.
[YOCTO#10810]
Signed-off-by: Juro Bystricky <juro.bystricky at intel.com>
---
bitbake/lib/bb/cooker.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 182d044..f6bad36 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -1610,7 +1610,9 @@ 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 ""
--
2.7.4
More information about the bitbake-devel
mailing list