summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/data.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/data.py')
-rw-r--r--bitbake/lib/bb/data.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/data.py b/bitbake/lib/bb/data.py
index 3d2c6a4975..58408036dd 100644
--- a/bitbake/lib/bb/data.py
+++ b/bitbake/lib/bb/data.py
@@ -301,9 +301,9 @@ def build_dependencies(key, keys, shelldeps, varflagsexcl, d):
301 301
302 def handle_contains(value, contains, d): 302 def handle_contains(value, contains, d):
303 newvalue = "" 303 newvalue = ""
304 for k in contains: 304 for k in sorted(contains):
305 l = (d.getVar(k, True) or "").split() 305 l = (d.getVar(k, True) or "").split()
306 for word in contains[k]: 306 for word in sorted(contains[k]):
307 if word in l: 307 if word in l:
308 newvalue += "\n%s{%s} = Set" % (k, word) 308 newvalue += "\n%s{%s} = Set" % (k, word)
309 else: 309 else: