diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/image.bbclass | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index d76895178f..1d88ccd819 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -138,7 +138,10 @@ python () { | |||
138 | def extraimage_getdepends(task): | 138 | def extraimage_getdepends(task): |
139 | deps = "" | 139 | deps = "" |
140 | for dep in (d.getVar('EXTRA_IMAGEDEPENDS') or "").split(): | 140 | for dep in (d.getVar('EXTRA_IMAGEDEPENDS') or "").split(): |
141 | deps += " %s:%s" % (dep, task) | 141 | if ":" in dep: |
142 | deps += " %s " % (dep) | ||
143 | else: | ||
144 | deps += " %s:%s" % (dep, task) | ||
142 | return deps | 145 | return deps |
143 | 146 | ||
144 | d.appendVarFlag('do_image_complete', 'depends', extraimage_getdepends('do_populate_sysroot')) | 147 | d.appendVarFlag('do_image_complete', 'depends', extraimage_getdepends('do_populate_sysroot')) |