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 ceaaac11ee..5b885cddd7 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -133,7 +133,8 @@ class BBCooker: | |||
133 | self.baseconfig_valid = False | 133 | self.baseconfig_valid = False |
134 | self.parsecache_valid = False | 134 | self.parsecache_valid = False |
135 | self.eventlog = None | 135 | self.eventlog = None |
136 | self.skiplist = {} | 136 | # The skiplists, one per multiconfig |
137 | self.skiplist_by_mc = defaultdict(dict) | ||
137 | self.featureset = CookerFeatures() | 138 | self.featureset = CookerFeatures() |
138 | if featureSet: | 139 | if featureSet: |
139 | for f in featureSet: | 140 | for f in featureSet: |
@@ -614,8 +615,8 @@ class BBCooker: | |||
614 | localdata = {} | 615 | localdata = {} |
615 | 616 | ||
616 | for mc in self.multiconfigs: | 617 | for mc in self.multiconfigs: |
617 | taskdata[mc] = bb.taskdata.TaskData(halt, skiplist=self.skiplist, allowincomplete=allowincomplete) | 618 | taskdata[mc] = bb.taskdata.TaskData(halt, skiplist=self.skiplist_by_mc[mc], allowincomplete=allowincomplete) |
618 | localdata[mc] = data.createCopy(self.databuilder.mcdata[mc]) | 619 | localdata[mc] = bb.data.createCopy(self.databuilder.mcdata[mc]) |
619 | bb.data.expandKeys(localdata[mc]) | 620 | bb.data.expandKeys(localdata[mc]) |
620 | 621 | ||
621 | current = 0 | 622 | current = 0 |
@@ -936,7 +937,7 @@ class BBCooker: | |||
936 | for mc in self.multiconfigs: | 937 | for mc in self.multiconfigs: |
937 | # First get list of recipes, including skipped | 938 | # First get list of recipes, including skipped |
938 | recipefns = list(self.recipecaches[mc].pkg_fn.keys()) | 939 | recipefns = list(self.recipecaches[mc].pkg_fn.keys()) |
939 | recipefns.extend(self.skiplist.keys()) | 940 | recipefns.extend(self.skiplist_by_mc[mc].keys()) |
940 | 941 | ||
941 | # Work out list of bbappends that have been applied | 942 | # Work out list of bbappends that have been applied |
942 | applied_appends = [] | 943 | applied_appends = [] |
@@ -2355,7 +2356,7 @@ class CookerParser(object): | |||
2355 | for virtualfn, info_array in result: | 2356 | for virtualfn, info_array in result: |
2356 | if info_array[0].skipped: | 2357 | if info_array[0].skipped: |
2357 | self.skipped += 1 | 2358 | self.skipped += 1 |
2358 | self.cooker.skiplist[virtualfn] = SkippedPackage(info_array[0]) | 2359 | self.cooker.skiplist_by_mc[mc][virtualfn] = SkippedPackage(info_array[0]) |
2359 | self.bb_caches[mc].add_info(virtualfn, info_array, self.cooker.recipecaches[mc], | 2360 | self.bb_caches[mc].add_info(virtualfn, info_array, self.cooker.recipecaches[mc], |
2360 | parsed=parsed, watcher = self.cooker.add_filewatch) | 2361 | parsed=parsed, watcher = self.cooker.add_filewatch) |
2361 | return True | 2362 | return True |