<?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のトピックi.MX Yocto Proyect: How can I create a new Layer?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX-Yocto-Proyect-How-can-I-create-a-new-Layer/m-p/230057#M17126</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is suggested to create a layer when creating or modifying any metadata file (recipe, configuration file or class). The main reason is simple: &lt;STRONG&gt;modularity&lt;/STRONG&gt;. Follow these steps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. To have access to Yocto scripts, setup the enviroment from the BASE folder&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;fsl-community-bsp $ . setup-environment build&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Move to the place you want to create your layer and choose a name (e.g. `fsl-custom`) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;sources $ yocto-layer create fsl-custom&lt;/P&gt;
&lt;P&gt;# Answer the questions. Make sure the priority is set correctly (higher numbers,&lt;/P&gt;
&lt;P&gt;# higher priorities). Set the priority equal to the lowest already present, except&lt;/P&gt;
&lt;P&gt;# when you have introduce a new recipe with the same name as other and want to shadow&lt;/P&gt;
&lt;P&gt;# the original one.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Add any metadata content. Suggestion: Version the layer with Git and upload your local git repo to a server&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Edit and add the layer to the `build/conf/bblayers.conf` file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. To verify that your layer is *seen* by BitBake, run the following command under the &lt;EM&gt;build&lt;/EM&gt; folder&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;build $ bitbake-layers show-layers&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Jul 2013 16:44:22 GMT</pubDate>
    <dc:creator>LeonardoSandova</dc:creator>
    <dc:date>2013-07-30T16:44:22Z</dc:date>
    <item>
      <title>i.MX Yocto Proyect: How can I create a new Layer?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX-Yocto-Proyect-How-can-I-create-a-new-Layer/m-p/230057#M17126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is suggested to create a layer when creating or modifying any metadata file (recipe, configuration file or class). The main reason is simple: &lt;STRONG&gt;modularity&lt;/STRONG&gt;. Follow these steps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. To have access to Yocto scripts, setup the enviroment from the BASE folder&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;fsl-community-bsp $ . setup-environment build&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. Move to the place you want to create your layer and choose a name (e.g. `fsl-custom`) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;sources $ yocto-layer create fsl-custom&lt;/P&gt;
&lt;P&gt;# Answer the questions. Make sure the priority is set correctly (higher numbers,&lt;/P&gt;
&lt;P&gt;# higher priorities). Set the priority equal to the lowest already present, except&lt;/P&gt;
&lt;P&gt;# when you have introduce a new recipe with the same name as other and want to shadow&lt;/P&gt;
&lt;P&gt;# the original one.&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. Add any metadata content. Suggestion: Version the layer with Git and upload your local git repo to a server&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4. Edit and add the layer to the `build/conf/bblayers.conf` file&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;5. To verify that your layer is *seen* by BitBake, run the following command under the &lt;EM&gt;build&lt;/EM&gt; folder&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;build $ bitbake-layers show-layers&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jul 2013 16:44:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX-Yocto-Proyect-How-can-I-create-a-new-Layer/m-p/230057#M17126</guid>
      <dc:creator>LeonardoSandova</dc:creator>
      <dc:date>2013-07-30T16:44:22Z</dc:date>
    </item>
  </channel>
</rss>

