[oe-commits] Robert P. J. Day : image_types.bbclass: Add and update comments regarding image types.
git at git.openembedded.org
git at git.openembedded.org
Wed Jan 16 11:58:03 UTC 2013
Module: openembedded-core.git
Branch: master
Commit: 0ca4a3a25e4495bf6e2e3932c019bd15856faf55
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=0ca4a3a25e4495bf6e2e3932c019bd15856faf55
Author: Robert P. J. Day <rpjday at crashcourse.ca>
Date: Sun Jan 13 05:24:19 2013 -0500
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 at crashcourse.ca>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
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 bdb67b4..6bb113d 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:
More information about the Openembedded-commits
mailing list