diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/lib/oe/image.py | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/meta/lib/oe/image.py b/meta/lib/oe/image.py index b0d81a6b22..b9eb3de5aa 100644 --- a/meta/lib/oe/image.py +++ b/meta/lib/oe/image.py | |||
@@ -54,14 +54,16 @@ class ImageDepGraph(object): | |||
54 | base_type = self._image_base_type(node) | 54 | base_type = self._image_base_type(node) |
55 | deps = (self.d.getVar('IMAGE_TYPEDEP_' + node, True) or "") | 55 | deps = (self.d.getVar('IMAGE_TYPEDEP_' + node, True) or "") |
56 | base_deps = (self.d.getVar('IMAGE_TYPEDEP_' + base_type, True) or "") | 56 | base_deps = (self.d.getVar('IMAGE_TYPEDEP_' + base_type, True) or "") |
57 | if deps != "" or base_deps != "": | 57 | |
58 | graph[node] = deps | 58 | graph[node] = "" |
59 | 59 | for dep in deps.split() + base_deps.split(): | |
60 | for dep in deps.split() + base_deps.split(): | 60 | if not dep in graph[node]: |
61 | if not dep in graph: | 61 | if graph[node] != "": |
62 | add_node(dep) | 62 | graph[node] += " " |
63 | else: | 63 | graph[node] += dep |
64 | graph[node] = "" | 64 | |
65 | if not dep in graph: | ||
66 | add_node(dep) | ||
65 | 67 | ||
66 | for fstype in image_fstypes: | 68 | for fstype in image_fstypes: |
67 | add_node(fstype) | 69 | add_node(fstype) |