diff options
author | Robert P. J. Day <rpjday@crashcourse.ca> | 2013-01-13 05:24:19 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-01-16 11:57:33 +0000 |
commit | 46420331ef6eba032c63eda0b77bfdb9dcc80544 (patch) | |
tree | 5fd66546cca73e2f62d980beff95cbd6f9b4b9be | |
parent | b1ae9679089f958d01020e7a77b40be504740c2c (diff) | |
download | poky-46420331ef6eba032c63eda0b77bfdb9dcc80544.tar.gz |
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.
(From OE-Core rev: 0ca4a3a25e4495bf6e2e3932c019bd15856faf55)
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/image_types.bbclass | 5 |
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): | |||
7 | ctypes = d.getVar('COMPRESSIONTYPES', True).split() | 7 | ctypes = d.getVar('COMPRESSIONTYPES', True).split() |
8 | cimages = {} | 8 | cimages = {} |
9 | 9 | ||
10 | # The elf image depends on the cpio.gz image already having | ||
11 | # been created, so we add that explicit ordering here. | ||
12 | |||
10 | if "elf" in alltypes: | 13 | if "elf" in alltypes: |
11 | alltypes.remove("elf") | 14 | alltypes.remove("elf") |
12 | if "cpio.gz" not in alltypes: | 15 | if "cpio.gz" not in alltypes: |
13 | alltypes.append("cpio.gz") | 16 | alltypes.append("cpio.gz") |
14 | alltypes.append("elf") | 17 | alltypes.append("elf") |
15 | 18 | ||
16 | # Filter out all the compressed images from types | 19 | # Filter out all the compressed images from alltypes |
17 | for type in alltypes: | 20 | for type in alltypes: |
18 | basetype = None | 21 | basetype = None |
19 | for ctype in ctypes: | 22 | for ctype in ctypes: |