diff options
-rw-r--r-- | bitbake/lib/bb/cooker.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index bda6d1b5c4..e527e23114 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -1023,16 +1023,16 @@ class BBCooker: | |||
1023 | bb.event.fire(bb.event.FilesMatchingFound(filepattern, matches), self.data) | 1023 | bb.event.fire(bb.event.FilesMatchingFound(filepattern, matches), self.data) |
1024 | 1024 | ||
1025 | def findProviders(self, mc=''): | 1025 | def findProviders(self, mc=''): |
1026 | return bb.providers.findProviders(self.data, self.recipecaches[mc], self.recipecaches[mc].pkg_pn) | 1026 | return bb.providers.findProviders(self.databuilder.mcdata[mc], self.recipecaches[mc], self.recipecaches[mc].pkg_pn) |
1027 | 1027 | ||
1028 | def findBestProvider(self, pn, mc=''): | 1028 | def findBestProvider(self, pn, mc=''): |
1029 | if pn in self.recipecaches[mc].providers: | 1029 | if pn in self.recipecaches[mc].providers: |
1030 | filenames = self.recipecaches[mc].providers[pn] | 1030 | filenames = self.recipecaches[mc].providers[pn] |
1031 | eligible, foundUnique = bb.providers.filterProviders(filenames, pn, self.data, self.recipecaches[mc]) | 1031 | eligible, foundUnique = bb.providers.filterProviders(filenames, pn, self.databuilder.mcdata[mc], self.recipecaches[mc]) |
1032 | filename = eligible[0] | 1032 | filename = eligible[0] |
1033 | return None, None, None, filename | 1033 | return None, None, None, filename |
1034 | elif pn in self.recipecaches[mc].pkg_pn: | 1034 | elif pn in self.recipecaches[mc].pkg_pn: |
1035 | return bb.providers.findBestProvider(pn, self.data, self.recipecaches[mc], self.recipecaches[mc].pkg_pn) | 1035 | return bb.providers.findBestProvider(pn, self.databuilder.mcdata[mc], self.recipecaches[mc], self.recipecaches[mc].pkg_pn) |
1036 | else: | 1036 | else: |
1037 | return None, None, None, None | 1037 | return None, None, None, None |
1038 | 1038 | ||