summaryrefslogtreecommitdiffstats
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/cookerdata.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/bitbake/lib/bb/cookerdata.py b/bitbake/lib/bb/cookerdata.py
index 3d3f133d2e..4d32aa0318 100644
--- a/bitbake/lib/bb/cookerdata.py
+++ b/bitbake/lib/bb/cookerdata.py
@@ -360,6 +360,13 @@ class CookerDataBuilder(object):
360 if invalid: 360 if invalid:
361 bb.fatal("BBFILES_DYNAMIC entries must be of the form <collection name>:<filename pattern>, not:\n %s" % "\n ".join(invalid)) 361 bb.fatal("BBFILES_DYNAMIC entries must be of the form <collection name>:<filename pattern>, not:\n %s" % "\n ".join(invalid))
362 362
363 layerseries = set((data.getVar("LAYERSERIES_CORENAMES") or "").split())
364 for c in collections:
365 compat = set((data.getVar("LAYERSERIES_COMPAT_%s" % c) or "").split())
366 if compat and not (compat & layerseries):
367 bb.fatal("Layer %s is not compatible with the core layer which only supports these series: %s (layer is compatible with %s)"
368 % (c, " ".join(layerseries), " ".join(compat)))
369
363 if not data.getVar("BBPATH"): 370 if not data.getVar("BBPATH"):
364 msg = "The BBPATH variable is not set" 371 msg = "The BBPATH variable is not set"
365 if not layerconf: 372 if not layerconf: