summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorRobert P. J. Day <rpjday@crashcourse.ca>2013-01-13 05:24:19 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-01-16 11:54:44 +0000
commit0ca4a3a25e4495bf6e2e3932c019bd15856faf55 (patch)
tree5192f10cfe29c26a657a8d685a1dbb4232ca7a13 /meta/classes
parente0cca947fc87c8f7a6d2a8fd719c87d56dd52941 (diff)
downloadopenembedded-core-0ca4a3a25e4495bf6e2e3932c019bd15856faf55.tar.gz
openembedded-core-0ca4a3a25e4495bf6e2e3932c019bd15856faf55.tar.bz2
openembedded-core-0ca4a3a25e4495bf6e2e3932c019bd15856faf55.zip
image_types.bbclass: Add and update comments regarding image types.
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>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/image_types.bbclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass
index bdb67b41e8..6bb113df4b 100644
--- a/meta/classes/image_types.bbclass
+++ b/meta/classes/image_types.bbclass
@@ -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: