<?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中的主题 yocto: How copying the appication specific includes to sysroot/usr/include/component</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/yocto-How-copying-the-appication-specific-includes-to-sysroot/m-p/849834#M130037</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the yocto bsp for iMx8 eval board and compiled it successfully. I have introduced the new custom layer and written .bb file for my recipe and the component is compiled successfully and want to install the my include in sysroot/usr/include/component at the end. I don't have the clue how to do that . Could you please some one guide me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the below to be achieved from .bb files.&lt;/P&gt;&lt;P&gt;1. I want to copy the header includes to sysroot/usr/include/component&lt;/P&gt;&lt;P&gt;2. Another recipe shall be able to refer the header from sysroot/usr/include/component&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Nov 2018 12:44:08 GMT</pubDate>
    <dc:creator>kumar_ugesh004</dc:creator>
    <dc:date>2018-11-20T12:44:08Z</dc:date>
    <item>
      <title>yocto: How copying the appication specific includes to sysroot/usr/include/component</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/yocto-How-copying-the-appication-specific-includes-to-sysroot/m-p/849834#M130037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the yocto bsp for iMx8 eval board and compiled it successfully. I have introduced the new custom layer and written .bb file for my recipe and the component is compiled successfully and want to install the my include in sysroot/usr/include/component at the end. I don't have the clue how to do that . Could you please some one guide me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want the below to be achieved from .bb files.&lt;/P&gt;&lt;P&gt;1. I want to copy the header includes to sysroot/usr/include/component&lt;/P&gt;&lt;P&gt;2. Another recipe shall be able to refer the header from sysroot/usr/include/component&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Nov 2018 12:44:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/yocto-How-copying-the-appication-specific-includes-to-sysroot/m-p/849834#M130037</guid>
      <dc:creator>kumar_ugesh004</dc:creator>
      <dc:date>2018-11-20T12:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: yocto: How copying the appication specific includes to sysroot/usr/include/component</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/yocto-How-copying-the-appication-specific-includes-to-sysroot/m-p/849835#M130038</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ugesh Munirajulu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You would need to add the instruction to install the headers or libraries inside the do_install () method of your recipe. Something like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;install -m 644 ${S}/include/linux/&amp;lt;HEADER&amp;gt;.h ${D}${includedir}/linux/&amp;lt;HEADER&amp;gt;.h&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find more information on these customizations in the Yocto Documentation&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.yoctoproject.org/docs/2.4/ref-manual/ref-manual.html#ref-tasks-install"&gt;https://www.yoctoproject.org/docs/2.4/ref-manual/ref-manual.html#ref-tasks-install&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.yoctoproject.org/docs/2.6/bsp-guide/bsp-guide.html"&gt;https://www.yoctoproject.org/docs/2.6/bsp-guide/bsp-guide.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Nov 2018 17:27:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/yocto-How-copying-the-appication-specific-includes-to-sysroot/m-p/849835#M130038</guid>
      <dc:creator>gusarambula</dc:creator>
      <dc:date>2018-11-28T17:27:09Z</dc:date>
    </item>
  </channel>
</rss>

