* [PATCH] parse: Don't try to expand __base_depends/__depends
@ 2015-11-10 9:55 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2015-11-10 9:55 UTC (permalink / raw)
To: bitbake-devel
Trying to expand a variable which isn't a string doesn't make sense.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
bitbake/lib/bb/parse/__init__.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bitbake/lib/bb/parse/__init__.py b/bitbake/lib/bb/parse/__init__.py
index 67ec71f..26ae7ea 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):
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)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2015-11-10 11:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-10 9:55 [PATCH] parse: Don't try to expand __base_depends/__depends Richard Purdie
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.