<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>i.MX Processors中的主题 Re: Task/recipe to include kernel source in SDK?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Task-recipe-to-include-kernel-source-in-SDK/m-p/402732#M59649</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, I was making it too difficult. I just created a new -image-sdk.bb and added IMAGE_INSTALL += " kernel-dev " and that did the trick. I'm still not sure why that didn't get picked up along with the rest of the -dev packages but that's a problem for another day.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Apr 2015 16:11:07 GMT</pubDate>
    <dc:creator>chrgrff1</dc:creator>
    <dc:date>2015-04-15T16:11:07Z</dc:date>
    <item>
      <title>Task/recipe to include kernel source in SDK?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Task-recipe-to-include-kernel-source-in-SDK/m-p/402729#M59646</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a program (user space, not a kernel module) which needs to include &amp;lt;linux/mxcfb.h&amp;gt;, but the kernel headers are not installed with the SDK when I run "bitbake -c populate_sdk my_image". Is there a task or bbclass or something I'm missing which will install the kernel headers so the SDK can find them? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only the sanitized libc headers are in /usr/include.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My tmp/sysroot directory *does* have kernel source installed at /usr/src/kernel, which is fine, but they're not getting picked up in the SDK sysroot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can always add an install_append step but that's a little kludgy when it seems like there should be a built-in way to do this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Apr 2015 15:27:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Task-recipe-to-include-kernel-source-in-SDK/m-p/402729#M59646</guid>
      <dc:creator>chrgrff1</dc:creator>
      <dc:date>2015-04-13T15:27:38Z</dc:date>
    </item>
    <item>
      <title>Re: Task/recipe to include kernel source in SDK?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Task-recipe-to-include-kernel-source-in-SDK/m-p/402730#M59647</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If I understand correctly you would need to add it on the recipe if you depend on the sources.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; do_configure[depends] += "virtual/kernel:do_shared_workdir"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let us know if this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2015 20:41:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Task-recipe-to-include-kernel-source-in-SDK/m-p/402730#M59647</guid>
      <dc:creator>gusarambula</dc:creator>
      <dc:date>2015-04-14T20:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: Task/recipe to include kernel source in SDK?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Task-recipe-to-include-kernel-source-in-SDK/m-p/402731#M59648</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi gusarambula,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see, that certainly looks like a good answer if you're on master. We're pegged to Dizzy right now, so unfortunately the do_shared_workdir task isn't available to us. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think I'll poke through the source for the populate_sdk task and try to find why /usr/src/kernel is in my tmp/sysroots but not the SDK sysroot.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the hint.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 15:07:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Task-recipe-to-include-kernel-source-in-SDK/m-p/402731#M59648</guid>
      <dc:creator>chrgrff1</dc:creator>
      <dc:date>2015-04-15T15:07:11Z</dc:date>
    </item>
    <item>
      <title>Re: Task/recipe to include kernel source in SDK?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Task-recipe-to-include-kernel-source-in-SDK/m-p/402732#M59649</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, I was making it too difficult. I just created a new -image-sdk.bb and added IMAGE_INSTALL += " kernel-dev " and that did the trick. I'm still not sure why that didn't get picked up along with the rest of the -dev packages but that's a problem for another day.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Apr 2015 16:11:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Task-recipe-to-include-kernel-source-in-SDK/m-p/402732#M59649</guid>
      <dc:creator>chrgrff1</dc:creator>
      <dc:date>2015-04-15T16:11:07Z</dc:date>
    </item>
  </channel>
</rss>

