summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/parse/ast.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/parse/ast.py')
-rw-r--r--bitbake/lib/bb/parse/ast.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/parse/ast.py b/bitbake/lib/bb/parse/ast.py
index 375ba3cb79..6441c5cf7c 100644
--- a/bitbake/lib/bb/parse/ast.py
+++ b/bitbake/lib/bb/parse/ast.py
@@ -400,6 +400,9 @@ def finalize(fn, d, variant = None):
400 400
401 d.setVar('BBINCLUDED', bb.parse.get_file_depends(d)) 401 d.setVar('BBINCLUDED', bb.parse.get_file_depends(d))
402 402
403 if d.getVar('__BBAUTOREV_SEEN') and d.getVar('__BBSRCREV_SEEN') and not d.getVar("__BBAUTOREV_ACTED_UPON"):
404 bb.fatal("AUTOREV/SRCPV set too late for the fetcher to work properly, please set the variables earlier in parsing. Erroring instead of later obtuse build failures.")
405
403 bb.event.fire(bb.event.RecipeParsed(fn), d) 406 bb.event.fire(bb.event.RecipeParsed(fn), d)
404 finally: 407 finally:
405 bb.event.set_handlers(saved_handlers) 408 bb.event.set_handlers(saved_handlers)