summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/lib/checklayer/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/lib/checklayer/__init__.py b/scripts/lib/checklayer/__init__.py
index 2618416fab..7788041843 100644
--- a/scripts/lib/checklayer/__init__.py
+++ b/scripts/lib/checklayer/__init__.py
@@ -167,6 +167,10 @@ def add_layer_dependencies(bblayersconf, layer, layers, logger):
167 # multiple errors at once 167 # multiple errors at once
168 if ret is not None and layer_depend not in ret: 168 if ret is not None and layer_depend not in ret:
169 ret.append(layer_depend) 169 ret.append(layer_depend)
170 else:
171 # we might have processed this dependency already, in which case
172 # we should not do it again (avoid recursive loop)
173 continue
170 174
171 # Recursively process... 175 # Recursively process...
172 if 'collections' not in layer_depend: 176 if 'collections' not in layer_depend: