<div class="gmail_quote">On Fri, Aug 17, 2012 at 2:55 PM, Phil Blundell <span dir="ltr">&lt;<a href="mailto:philb@gnu.org" target="_blank">philb@gnu.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div class="im">On Fri, 2012-08-17 at 08:51 -0400, Cliff Brake wrote:<br>
&gt; I would like to add a DEPEND to a kernel recipe that causes an<br>
&gt; initramfs image to be built every time before the kernel is built.  It<br>
&gt; seems that a DEPEND on the rootfs recipe triggers the rootfs build,<br>
&gt; however it appears that the kernel recipe does not wait for the image<br>
&gt; recipe to finish before it builds.  What is the best way to accomplish<br>
&gt; this?<br>
<br>
</div>do_compile[depends] += &quot;ramfs-image:do_rootfs&quot;<br>
<br>
p.<br>
<br>
<br></blockquote><div>Yes, that code is as well in kernel.bbclass so you can just add</div><div><br></div><div>INITRAMFS_IMAGE = &quot;foo&quot;</div><div></div><div><br></div><div>to your kernel recipe.</div><div><br></div>
<div>Andrea</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<br>
_______________________________________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.openembedded.org</a><br>
<a href="http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core" target="_blank">http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core</a><br>
</blockquote></div><br>