On Fri, Aug 17, 2012 at 2:55 PM, Phil Blundell <[email protected]> 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
> [email protected]
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to