[OE-core] image_types.bbclass: what's with "elf" and "cpio.gz"?

Chris Larson clarson at kergoth.com
Sat Jan 12 19:15:06 UTC 2013


On Sat, Jan 12, 2013 at 6:05 AM, Richard Purdie <
richard.purdie at linuxfoundation.org> wrote:

> > i was going to trivially fix that comment (it's now "alltypes", not
> > "types"), but i was distracted by the code above that -- what the heck
> > is going on there?  what's the rationale for removing elf, then adding
> > cpio.gz and elf back on at the end?  if someone can clarify that, i
> > can add that as more comment, as well as a few other tweaks in that
> > file for more documentation for anyone reading TFS.  thanks.
>
> Order is important. The elf image depends on the cpio.gz image already
> having been created so a) it must be created and b) it must happen
> before elf.


I'd think we could implement a data-driven method for this, rather than
hardcoding this knowledge. Either declare the deps via a flag, or have one
directly call the other.
-- 
Christopher Larson
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20130112/8b3fb9f8/attachment-0002.html>


More information about the Openembedded-core mailing list