parse: Don't try to expand __base_depends/__depends
PATCH 1/1 parse: Don't try to expand __base_depends/__depends
Trying to expand a variable which isn't a string doesn't make sense.
Signed-off-by Richard Purdie <[email protected]>
--- bitbake/lib/bb/parse/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
bitbake/lib/bb/parse/__init__.py +2 -2
@@ -161,8 +161,8 @@ def vars_from_file(mypkg, d): def get_file_depends(d): '''Return the dependent files''' dep_files = [] - depends = d.getVar('__base_depends', True) or [] - depends = depends + (d.getVar('__depends', True) or []) + depends = d.getVar('__base_depends', False) or [] + depends = depends + (d.getVar('__depends', False) or []) for (fn, _) in depends: dep_files.append(os.path.abspath(fn)) return " ".join(dep_files)