diff options
Diffstat (limited to 'bitbake/lib/bb/parse/__init__.py')
-rw-r--r-- | bitbake/lib/bb/parse/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/parse/__init__.py b/bitbake/lib/bb/parse/__init__.py index 25effc2200..4a78e183ab 100644 --- a/bitbake/lib/bb/parse/__init__.py +++ b/bitbake/lib/bb/parse/__init__.py | |||
@@ -81,7 +81,7 @@ def update_cache(f): | |||
81 | def mark_dependency(d, f): | 81 | def mark_dependency(d, f): |
82 | if f.startswith('./'): | 82 | if f.startswith('./'): |
83 | f = "%s/%s" % (os.getcwd(), f[2:]) | 83 | f = "%s/%s" % (os.getcwd(), f[2:]) |
84 | deps = (d.getVar('__depends') or []) | 84 | deps = (d.getVar('__depends', False) or []) |
85 | s = (f, cached_mtime_noerror(f)) | 85 | s = (f, cached_mtime_noerror(f)) |
86 | if s not in deps: | 86 | if s not in deps: |
87 | deps.append(s) | 87 | deps.append(s) |
@@ -89,7 +89,7 @@ def mark_dependency(d, f): | |||
89 | 89 | ||
90 | def check_dependency(d, f): | 90 | def check_dependency(d, f): |
91 | s = (f, cached_mtime_noerror(f)) | 91 | s = (f, cached_mtime_noerror(f)) |
92 | deps = (d.getVar('__depends') or []) | 92 | deps = (d.getVar('__depends', False) or []) |
93 | return s in deps | 93 | return s in deps |
94 | 94 | ||
95 | def supports(fn, data): | 95 | def supports(fn, data): |