<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 10, 2015 at 10:28 AM, Gary Thomas <span dir="ltr"><<a href="mailto:gary@mlbassoc.com" target="_blank">gary@mlbassoc.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id=":4j6" class="" style="overflow:hidden">If I run a build where the kernel package is brought in via<br>
sstate, tmp/work-shared (in particular the kernel-source tree)<br>
is not populated.  This will break at least these recipes:<br>
  meta-fsl-arm/recipes-<u></u>multimedia/gstreamer/<a href="http://gst-fsl-plugin_4.0.2.bb" target="_blank">gst-fsl-<u></u>plugin_4.0.2.bb</a><br>
  meta-fsl-arm/recipes-<u></u>multimedia/alsa/<a href="http://fsl-alsa-plugins_1.0.25.bb" target="_blank">fsl-alsa-<u></u>plugins_1.0.25.bb</a><br>
<br>
These programs reference the kernel includes directly for some<br>
ARM/i.MX specific headers (e.g. <linux/mxcfb.h>).  These headers<br>
are not part of the mainline kernel which is used to create the<br>
kernel headers that populates tmp/sysroots, so the build fails.<br>
Note: I'm not sure of the mechanism that lets these programs<br>
peek into the kernel build (I looked at them but nothing jumped<br>
out), but they do build find if the kernel is actually built<br>
and not just brought in by sstate.<br>
<br>
Is this an error & if so, which recipe is at fault?  The FSL<br>
recipes, or the new kernel build/classes?</div></blockquote></div><br>Per commit 46cdaf1c7bc597735d926af6a46f9483f7e57ce5 (oe-core 6a1ff0e7eacef595738f2fed086986fd622ec32a), you need to add this if you depend on the sources:</div><div class="gmail_extra"><br></div><div class="gmail_extra">  Â  do_configure[depends] += "virtual/kernel:do_shared_workdir"<br>-- <br><div class="gmail_signature">Christopher Larson<br>clarson at kergoth dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Maintainer - Tslib<br>Senior Software Engineer, Mentor Graphics</div>
</div></div>