diff options
author | Joshua Watt <JPEWhacker@gmail.com> | 2020-06-05 22:15:29 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-06-10 12:30:01 +0100 |
commit | b9fdb6a4261754459a01f9689010a38922fe0c8a (patch) | |
tree | f06ef9f8d1ad7ffa27f64e501228f4d312bdbc94 /bitbake/lib/bblayers/query.py | |
parent | f08d269c484417f3284c683ed690584642d33915 (diff) | |
download | poky-b9fdb6a4261754459a01f9689010a38922fe0c8a.tar.gz |
bitbake: bitbake: cooker: Split file collections per multiconfig
Splits the cooker to track a collection per multiconfig instead of a
single collection for all multiconfigs. Practically speaking, this
allows each multiconfigs to each have different BBMASKs that apply to it
instead of each one using the mask specified in the base configuration.
(Bitbake rev: dd6d8eca2027f8d9be8a734a493227b440075e49)
Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bblayers/query.py')
-rw-r--r-- | bitbake/lib/bblayers/query.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bblayers/query.py b/bitbake/lib/bblayers/query.py index e2cc310532..ee2db0efed 100644 --- a/bitbake/lib/bblayers/query.py +++ b/bitbake/lib/bblayers/query.py | |||
@@ -320,12 +320,12 @@ Lists recipes with the bbappends that apply to them as subitems. | |||
320 | def get_appends_for_files(self, filenames): | 320 | def get_appends_for_files(self, filenames): |
321 | appended, notappended = [], [] | 321 | appended, notappended = [], [] |
322 | for filename in filenames: | 322 | for filename in filenames: |
323 | _, cls, _ = bb.cache.virtualfn2realfn(filename) | 323 | _, cls, mc = bb.cache.virtualfn2realfn(filename) |
324 | if cls: | 324 | if cls: |
325 | continue | 325 | continue |
326 | 326 | ||
327 | basename = os.path.basename(filename) | 327 | basename = os.path.basename(filename) |
328 | appends = self.tinfoil.cooker.collection.get_file_appends(basename) | 328 | appends = self.tinfoil.cooker.collections[mc].get_file_appends(basename) |
329 | if appends: | 329 | if appends: |
330 | appended.append((basename, list(appends))) | 330 | appended.append((basename, list(appends))) |
331 | else: | 331 | else: |