]> code.ossystems Code Review - openembedded-core.git/commitdiff
image_types.bbclass: Add and update comments regarding image types.
authorRobert P. J. Day <rpjday@crashcourse.ca>
Sun, 13 Jan 2013 10:24:19 +0000 (05:24 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 16 Jan 2013 11:54:44 +0000 (11:54 +0000)
Explain the elf/cpio.gz snippet of code, and update a comment to
reflect the correct variable name.  No functional change.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/image_types.bbclass

index bdb67b41e86ea794f9ef7fe4cfa8af69b95f99ac..6bb113df4b7805937b57959655ae3072ff1b2480 100644 (file)
@@ -7,13 +7,16 @@ def get_imagecmds(d):
     ctypes = d.getVar('COMPRESSIONTYPES', True).split()
     cimages = {}
 
+    # The elf image depends on the cpio.gz image already having
+    # been created, so we add that explicit ordering here.
+
     if "elf" in alltypes:
         alltypes.remove("elf")
         if "cpio.gz" not in alltypes:
                 alltypes.append("cpio.gz")
         alltypes.append("elf")
 
-    # Filter out all the compressed images from types
+    # Filter out all the compressed images from alltypes
     for type in alltypes:
         basetype = None
         for ctype in ctypes: