diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2014-12-24 14:32:09 -0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-12-25 08:18:12 +0000 |
commit | fc74b5d00753d50e1c6621d0a7dd9cebc173ebab (patch) | |
tree | d317541e996b608af05d8988dc28607ff3130b9b | |
parent | ac17cd3b9296cfa6dc5220497ac0ede72528ad67 (diff) | |
download | poky-fc74b5d00753d50e1c6621d0a7dd9cebc173ebab.tar.gz |
image_types.bbclass: Respect IMAGE_TYPEDEP dependencies
The IMAGE_TYPEDEP dependencies also need to be taken into account when
building an IMAGE_FSTYPE.
(From OE-Core rev: 055fddd601536109e0574e84dc6570c322f22d44)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/image_types.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index 1b8ceeebed..71b2ea916b 100644 --- a/meta/classes/image_types.bbclass +++ b/meta/classes/image_types.bbclass | |||
@@ -21,6 +21,8 @@ def imagetypes_getdepends(d): | |||
21 | basetype = type[:-len("." + ctype)] | 21 | basetype = type[:-len("." + ctype)] |
22 | adddep(d.getVar("COMPRESS_DEPENDS_%s" % ctype, True), deps) | 22 | adddep(d.getVar("COMPRESS_DEPENDS_%s" % ctype, True), deps) |
23 | break | 23 | break |
24 | for typedepends in (d.getVar("IMAGE_TYPEDEP_%s" % basetype, True) or "").split(): | ||
25 | adddep(d.getVar('IMAGE_DEPENDS_%s' % typedepends, True) , deps) | ||
24 | adddep(d.getVar('IMAGE_DEPENDS_%s' % basetype, True) , deps) | 26 | adddep(d.getVar('IMAGE_DEPENDS_%s' % basetype, True) , deps) |
25 | 27 | ||
26 | depstr = "" | 28 | depstr = "" |