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>
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: