summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r--bitbake/lib/bb/parse/__init__.py3
-rw-r--r--bitbake/lib/bb/parse/parse_py/BBHandler.py3
-rw-r--r--bitbake/lib/bb/parse/parse_py/ConfHandler.py3
3 files changed, 2 insertions, 7 deletions
diff --git a/bitbake/lib/bb/parse/__init__.py b/bitbake/lib/bb/parse/__init__.py
index 2fc4002db5..5397d57a51 100644
--- a/bitbake/lib/bb/parse/__init__.py
+++ b/bitbake/lib/bb/parse/__init__.py
@@ -134,8 +134,9 @@ def resolve_file(fn, d):
134 if not newfn: 134 if not newfn:
135 raise IOError(errno.ENOENT, "file %s not found in %s" % (fn, bbpath)) 135 raise IOError(errno.ENOENT, "file %s not found in %s" % (fn, bbpath))
136 fn = newfn 136 fn = newfn
137 else:
138 mark_dependency(d, fn)
137 139
138 mark_dependency(d, fn)
139 if not os.path.isfile(fn): 140 if not os.path.isfile(fn):
140 raise IOError(errno.ENOENT, "file %s not found" % fn) 141 raise IOError(errno.ENOENT, "file %s not found" % fn)
141 142
diff --git a/bitbake/lib/bb/parse/parse_py/BBHandler.py b/bitbake/lib/bb/parse/parse_py/BBHandler.py
index f89ad24273..e5039e3bd1 100644
--- a/bitbake/lib/bb/parse/parse_py/BBHandler.py
+++ b/bitbake/lib/bb/parse/parse_py/BBHandler.py
@@ -131,9 +131,6 @@ def handle(fn, d, include):
131 131
132 abs_fn = resolve_file(fn, d) 132 abs_fn = resolve_file(fn, d)
133 133
134 if include:
135 bb.parse.mark_dependency(d, abs_fn)
136
137 # actual loading 134 # actual loading
138 statements = get_statements(fn, abs_fn, base_name) 135 statements = get_statements(fn, abs_fn, base_name)
139 136
diff --git a/bitbake/lib/bb/parse/parse_py/ConfHandler.py b/bitbake/lib/bb/parse/parse_py/ConfHandler.py
index 97aa130431..9d3ebe16f4 100644
--- a/bitbake/lib/bb/parse/parse_py/ConfHandler.py
+++ b/bitbake/lib/bb/parse/parse_py/ConfHandler.py
@@ -134,9 +134,6 @@ def handle(fn, data, include):
134 abs_fn = resolve_file(fn, data) 134 abs_fn = resolve_file(fn, data)
135 f = open(abs_fn, 'r') 135 f = open(abs_fn, 'r')
136 136
137 if include:
138 bb.parse.mark_dependency(data, abs_fn)
139
140 statements = ast.StatementGroup() 137 statements = ast.StatementGroup()
141 lineno = 0 138 lineno = 0
142 while True: 139 while True: