summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/classextend.py
diff options
context:
space:
mode:
Diffstat (limited to 'meta/lib/oe/classextend.py')
-rw-r--r--meta/lib/oe/classextend.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/meta/lib/oe/classextend.py b/meta/lib/oe/classextend.py
index 61cbb8fdf3..c37a8963c5 100644
--- a/meta/lib/oe/classextend.py
+++ b/meta/lib/oe/classextend.py
@@ -63,11 +63,12 @@ class ClassExtender(object):
63 deps = self.d.getVar(varname, True) 63 deps = self.d.getVar(varname, True)
64 if not deps: 64 if not deps:
65 return 65 return
66 deps = bb.utils.explode_deps(deps) 66 deps = bb.utils.explode_dep_versions2(deps)
67 newdeps = [] 67 newdeps = {}
68 for dep in deps: 68 for dep in deps:
69 newdeps.append(self.map_depends(dep)) 69 newdeps[self.map_depends(dep)] = deps[dep]
70 self.d.setVar(varname, " ".join(newdeps)) 70
71 self.d.setVar(varname, bb.utils.join_deps(newdeps, False))
71 72
72 def map_packagevars(self): 73 def map_packagevars(self):
73 for pkg in (self.d.getVar("PACKAGES", True).split() + [""]): 74 for pkg in (self.d.getVar("PACKAGES", True).split() + [""]):