diff options
Diffstat (limited to 'bitbake/lib/bb/parse/__init__.py')
-rw-r--r-- | bitbake/lib/bb/parse/__init__.py | 3 |
1 files changed, 2 insertions, 1 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 | ||