<div dir="ltr">You&#39;re not alone, this might be the same issue (fixed only in master):<div><a href="https://bugzilla.yoctoproject.org/show_bug.cgi?id=9352">https://bugzilla.yoctoproject.org/show_bug.cgi?id=9352</a><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 31, 2016 at 8:38 PM, Ian Geiser <span dir="ltr">&lt;<a href="mailto:geiseri@geekcentral.pub" target="_blank">geiseri@geekcentral.pub</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
 ---- On Tue, 30 Aug 2016 10:13:52 -0400 Ian Geiser &lt;geiseri@geekcentral.pub&gt; wrote ----<br>
 &gt; Greetings,  I have an issue where I cannot seem to build any external kernel module recipes.  The one in particular is iscsitarget, but it seems none of them build now.<br>
 &gt;<br>
 &gt; It seems that what is happening is that the &quot;work-shared/*/kernel-build-<wbr>artifacts&quot; is getting erased right before the module recipe tries to use them.  Has anyone seen this before?<br>
 &gt;<br>
 &gt; As a key point, I am also using my own kernel recipe that only uses the kernel.bbclass, not the kernel-yocto.bbclass.  Is there magic I am missing that will not allow me to build modules unless I am using the yocto kernels?<br>
 &gt;<br>
<br>
Looking at this further it looks like this is a normal issue with all kernels.  There is a race condition that will cause the kernel to rebuild everytime you build a module.  During this process the build artifacts are always cleared out and sometimes it wont actually populate the shared workdir.  I tested with most kernels and found all modules suffer this issue.  Am I the only one seeing this?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
______________________________<wbr>_________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.<wbr>openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
</font></span></blockquote></div><br></div>