From 46420331ef6eba032c63eda0b77bfdb9dcc80544 Mon Sep 17 00:00:00 2001 From: "Robert P. J. Day" Date: Sun, 13 Jan 2013 05:24:19 -0500 Subject: 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 Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/classes/image_types.bbclass | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'meta/classes') 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: -- cgit v1.2.3-54-g00ecf