aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/lib/checklayer/__init__.py
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2018-04-06 17:07:22 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-04-09 12:10:47 +0100
commit13a80b22f28b81a0082d181674295a0f96111f6b (patch)
treee110e4d902f1efe621a9d03fd5851f6397797031 /scripts/lib/checklayer/__init__.py
parente55e6df4f1434458cdfa0e2d3610b48119e5a782 (diff)
downloadopenembedded-core-contrib-13a80b22f28b81a0082d181674295a0f96111f6b.tar.gz
yocto-check-layer: add a test for correct setting of LAYERSERIES_COMPAT_collection
[YOCTO #12661] Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/checklayer/__init__.py')
-rw-r--r--scripts/lib/checklayer/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/lib/checklayer/__init__.py b/scripts/lib/checklayer/__init__.py
index 288c457822..2618416fab 100644
--- a/scripts/lib/checklayer/__init__.py
+++ b/scripts/lib/checklayer/__init__.py
@@ -56,9 +56,11 @@ def _get_layer_collections(layer_path, lconf=None, data=None):
priority = ldata.getVar('BBFILE_PRIORITY_%s' % name)
pattern = ldata.getVar('BBFILE_PATTERN_%s' % name)
depends = ldata.getVar('LAYERDEPENDS_%s' % name)
+ compat = ldata.getVar('LAYERSERIES_COMPAT_%s' % name)
collections[name]['priority'] = priority
collections[name]['pattern'] = pattern
collections[name]['depends'] = depends
+ collections[name]['compat'] = compat
return collections