[OE-core] DEPEND on an image recipe

Andrea Adami andrea.adami at gmail.com
Fri Aug 17 20:55:33 UTC 2012


On Fri, Aug 17, 2012 at 2:55 PM, Phil Blundell <philb at gnu.org> wrote:

> On Fri, 2012-08-17 at 08:51 -0400, Cliff Brake wrote:
> > I would like to add a DEPEND to a kernel recipe that causes an
> > initramfs image to be built every time before the kernel is built.  It
> > seems that a DEPEND on the rootfs recipe triggers the rootfs build,
> > however it appears that the kernel recipe does not wait for the image
> > recipe to finish before it builds.  What is the best way to accomplish
> > this?
>
> do_compile[depends] += "ramfs-image:do_rootfs"
>
> p.
>
>
> Yes, that code is as well in kernel.bbclass so you can just add

INITRAMFS_IMAGE = "foo"

to your kernel recipe.

Andrea



>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20120817/e5721774/attachment-0002.html>


More information about the Openembedded-core mailing list