summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/data.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/bitbake/lib/bb/data.py b/bitbake/lib/bb/data.py
index a85cb3abff..0403754dee 100644
--- a/bitbake/lib/bb/data.py
+++ b/bitbake/lib/bb/data.py
@@ -296,11 +296,13 @@ def build_dependencies(key, keys, shelldeps, varflagsexcl, d):
296 newvalue = "" 296 newvalue = ""
297 for k in sorted(contains): 297 for k in sorted(contains):
298 l = (d.getVar(k) or "").split() 298 l = (d.getVar(k) or "").split()
299 for word in sorted(contains[k]): 299 for item in sorted(contains[k]):
300 if word in l: 300 for word in item.split():
301 newvalue += "\n%s{%s} = Set" % (k, word) 301 if not word in l:
302 newvalue += "\n%s{%s} = Unset" % (k, item)
303 break
302 else: 304 else:
303 newvalue += "\n%s{%s} = Unset" % (k, word) 305 newvalue += "\n%s{%s} = Set" % (k, item)
304 if not newvalue: 306 if not newvalue:
305 return value 307 return value
306 if not value: 308 if not value: