mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 00:20:08 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
b1ae967908
commit
46420331ef
@@ -7,13 +7,16 @@ def get_imagecmds(d):
|
|||||||
ctypes = d.getVar('COMPRESSIONTYPES', True).split()
|
ctypes = d.getVar('COMPRESSIONTYPES', True).split()
|
||||||
cimages = {}
|
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:
|
if "elf" in alltypes:
|
||||||
alltypes.remove("elf")
|
alltypes.remove("elf")
|
||||||
if "cpio.gz" not in alltypes:
|
if "cpio.gz" not in alltypes:
|
||||||
alltypes.append("cpio.gz")
|
alltypes.append("cpio.gz")
|
||||||
alltypes.append("elf")
|
alltypes.append("elf")
|
||||||
|
|
||||||
# Filter out all the compressed images from types
|
# Filter out all the compressed images from alltypes
|
||||||
for type in alltypes:
|
for type in alltypes:
|
||||||
basetype = None
|
basetype = None
|
||||||
for ctype in ctypes:
|
for ctype in ctypes:
|
||||||
|
|||||||
Reference in New Issue
Block a user