From: Richard Purdie Date: Tue, 10 Nov 2015 09:55:49 +0000 (+0000) Subject: parse: Don't try to expand __base_depends/__depends X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=62367cca1f1793eb9827406bcdd5980fdeb80a60;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- diff --git a/lib/bb/parse/__init__.py b/lib/bb/parse/__init__.py index 67ec71f8663..26ae7ead866 100644 --- a/lib/bb/parse/__init__.py +++ b/lib/bb/parse/__init__.py @@ -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)