diff options
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index 582fc35f24..4aad408d48 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -134,7 +134,8 @@ class BBCooker: | |||
134 | self.baseconfig_valid = False | 134 | self.baseconfig_valid = False |
135 | self.parsecache_valid = False | 135 | self.parsecache_valid = False |
136 | self.eventlog = None | 136 | self.eventlog = None |
137 | self.skiplist = {} | 137 | # The skiplists, one per multiconfig |
138 | self.skiplist_by_mc = defaultdict(dict) | ||
138 | self.featureset = CookerFeatures() | 139 | self.featureset = CookerFeatures() |
139 | if featureSet: | 140 | if featureSet: |
140 | for f in featureSet: | 141 | for f in featureSet: |
@@ -616,8 +617,8 @@ class BBCooker: | |||
616 | localdata = {} | 617 | localdata = {} |
617 | 618 | ||
618 | for mc in self.multiconfigs: | 619 | for mc in self.multiconfigs: |
619 | taskdata[mc] = bb.taskdata.TaskData(halt, skiplist=self.skiplist, allowincomplete=allowincomplete) | 620 | taskdata[mc] = bb.taskdata.TaskData(halt, skiplist=self.skiplist_by_mc[mc], allowincomplete=allowincomplete) |
620 | localdata[mc] = data.createCopy(self.databuilder.mcdata[mc]) | 621 | localdata[mc] = bb.data.createCopy(self.databuilder.mcdata[mc]) |
621 | bb.data.expandKeys(localdata[mc]) | 622 | bb.data.expandKeys(localdata[mc]) |
622 | 623 | ||
623 | current = 0 | 624 | current = 0 |
@@ -937,7 +938,7 @@ class BBCooker: | |||
937 | for mc in self.multiconfigs: | 938 | for mc in self.multiconfigs: |
938 | # First get list of recipes, including skipped | 939 | # First get list of recipes, including skipped |
939 | recipefns = list(self.recipecaches[mc].pkg_fn.keys()) | 940 | recipefns = list(self.recipecaches[mc].pkg_fn.keys()) |
940 | recipefns.extend(self.skiplist.keys()) | 941 | recipefns.extend(self.skiplist_by_mc[mc].keys()) |
941 | 942 | ||
942 | # Work out list of bbappends that have been applied | 943 | # Work out list of bbappends that have been applied |
943 | applied_appends = [] | 944 | applied_appends = [] |
@@ -2362,7 +2363,7 @@ class CookerParser(object): | |||
2362 | for virtualfn, info_array in result: | 2363 | for virtualfn, info_array in result: |
2363 | if info_array[0].skipped: | 2364 | if info_array[0].skipped: |
2364 | self.skipped += 1 | 2365 | self.skipped += 1 |
2365 | self.cooker.skiplist[virtualfn] = SkippedPackage(info_array[0]) | 2366 | self.cooker.skiplist_by_mc[mc][virtualfn] = SkippedPackage(info_array[0]) |
2366 | self.bb_caches[mc].add_info(virtualfn, info_array, self.cooker.recipecaches[mc], | 2367 | self.bb_caches[mc].add_info(virtualfn, info_array, self.cooker.recipecaches[mc], |
2367 | parsed=parsed, watcher = self.cooker.add_filewatch) | 2368 | parsed=parsed, watcher = self.cooker.add_filewatch) |
2368 | return True | 2369 | return True |