summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/parse/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/parse/__init__.py b/bitbake/lib/bb/parse/__init__.py
index 67ec71f866..26ae7ead86 100644
--- a/bitbake/lib/bb/parse/__init__.py
+++ b/bitbake/lib/bb/parse/__init__.py
@@ -161,8 +161,8 @@ def vars_from_file(mypkg, d):
161def get_file_depends(d): 161def get_file_depends(d):
162 '''Return the dependent files''' 162 '''Return the dependent files'''
163 dep_files = [] 163 dep_files = []
164 depends = d.getVar('__base_depends', True) or [] 164 depends = d.getVar('__base_depends', False) or []
165 depends = depends + (d.getVar('__depends', True) or []) 165 depends = depends + (d.getVar('__depends', False) or [])
166 for (fn, _) in depends: 166 for (fn, _) in depends:
167 dep_files.append(os.path.abspath(fn)) 167 dep_files.append(os.path.abspath(fn))
168 return " ".join(dep_files) 168 return " ".join(dep_files)