]> code.ossystems Code Review - openembedded-core.git/commitdiff
image_types: check COMPRESS_DEPENDS for backwards compatibility
authorMikko Ylinen <mikko.ylinen@intel.com>
Tue, 30 Aug 2016 05:38:45 +0000 (08:38 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 30 Aug 2016 14:16:13 +0000 (15:16 +0100)
To complete the transition/renaming to chained image type CONVERSION
while maintaining bacwards compatibility to COMPRESS(ION), make sure also
COMPRESS_DEPENDS is checked. Without this, the dependencies for legacy
COMPRESSIONTYPES do not get built.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image_types.bbclass

index 2e852af70a22929b2d7bfa72182cb498cc0d078f..21e2ff948671fc79a579e800c379dc56ca14ad02 100644 (file)
@@ -30,6 +30,7 @@ def imagetypes_getdepends(d):
             adddep(d.getVar('IMAGE_DEPENDS_%s' % typedepends, True) , deps)
         for ctype in resttypes:
             adddep(d.getVar("CONVERSION_DEPENDS_%s" % ctype, True), deps)
+            adddep(d.getVar("COMPRESS_DEPENDS_%s" % ctype, True), deps)
 
     # Sort the set so that ordering is consistant
     return " ".join(sorted(deps))