<?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: How to solve mutliple bb files to be built which each provide the same package in yocto?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/How-to-solve-mutliple-bb-files-to-be-built-which-each-provide/m-p/449973#M69667</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; If I understand correctly, “PROVIDES” does not depend so much on the layer’s priorities. The default provider is the provider with the same name as the target. Bitbake defaults to the highest version of a provider rather than the one located in the layer with the highest priority. &lt;/P&gt;&lt;P&gt;There is some information on section 2.4 of the Bitbake User’s Manual (link below).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.yoctoproject.org/docs/1.7/bitbake-user-manual/bitbake-user-manual.html"&gt;http://www.yoctoproject.org/docs/1.7/bitbake-user-manual/bitbake-user-manual.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 May 2015 19:38:56 GMT</pubDate>
    <dc:creator>gusarambula</dc:creator>
    <dc:date>2015-05-21T19:38:56Z</dc:date>
    <item>
      <title>How to solve mutliple bb files to be built which each provide the same package in yocto?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-solve-mutliple-bb-files-to-be-built-which-each-provide/m-p/449970#M69664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;hello,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; everyone, when i use yocto to build my own image, there happends some problems.Here is the error&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 14pt;"&gt;ERROR: Multiple .bb files are due to be built which each provide virtual/kernel (fsl-release-bsp/sources/meta-fsl-bsp-release/imx/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.10.17.bb fsl-release-bsp/sources/meta-sources/my-linux_3.10.17.bb).&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;STRONG&gt; This usually means one provides something the other doesn't and should.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;i know yocto has "PREFERRED_PROVIDER" to choose what&amp;nbsp; i want&amp;nbsp; .so i modify my layer's "layer.conf" ,here is what it changed&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;STRONG style="font-size: 14pt;"&gt;BBFILE_COLLECTIONS += "kernel"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 14pt;"&gt; BBFILE_PATTERN_kernel = "^${LAYERDIR}/"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 14pt;"&gt; BBFILE_PRIORITY_kernel = "9"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 14pt;"&gt; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 14pt;"&gt; PREFERRED_PROVIDER_virtual/kernel = "taflus-linux-2wk"&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;STRONG&gt; PREFERRED_VERSION_taflus-linux-2wk_mx6 = "3.10.17"\&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;but there happen new problems :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;STRONG style="font-size: 14pt;"&gt;NOTE: Resolving any missing task queue dependencies&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 14pt;"&gt; NOTE: multiple providers are available for runtime kernel-base (linux-fslc, linux-imx, linux-boundary)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 14pt;"&gt; NOTE: consider defining a PREFERRED_PROVIDER entry to match kernel-base&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 14pt;"&gt; NOTE: multiple providers are available for runtime kernel-image (linux-fslc, linux-imx, linux-boundary)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 14pt;"&gt;&lt;STRONG&gt; NOTE: consider defining a PREFERRED_PROVIDER entry to match kernel-image&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;and then it doesn't compile my kernel . i don't know how to compile my kernel when building my image and how to use "PREFERRED_PROVIDER" correctly . &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 18pt;"&gt;Please give some inspiration:smileyconfused:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Apr 2015 09:34:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-solve-mutliple-bb-files-to-be-built-which-each-provide/m-p/449970#M69664</guid>
      <dc:creator>mariclewang</dc:creator>
      <dc:date>2015-04-28T09:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to solve mutliple bb files to be built which each provide the same package in yocto?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-solve-mutliple-bb-files-to-be-built-which-each-provide/m-p/449971#M69665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Maricle,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you checked he Yocto BSP Developoer’s Guide?&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.yoctoproject.org/docs/current/bsp-guide/bsp-guide.html" target="_blank"&gt;http://www.yoctoproject.org/docs/current/bsp-guide/bsp-guide.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would review the “PROVIDES” dependencies better on your recipes. There is some more information on the Open Embedded User Manual (link below). Perhaps you may try with “RPROVIDES” and then the distro/machine would select which virtual/kernel it wants.&lt;/P&gt;&lt;P&gt;&lt;A href="http://docs.openembedded.org/usermanual/usermanual.html"&gt;http://docs.openembedded.org/usermanual/usermanual.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let us know of your findings!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2015 21:01:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-solve-mutliple-bb-files-to-be-built-which-each-provide/m-p/449971#M69665</guid>
      <dc:creator>gusarambula</dc:creator>
      <dc:date>2015-05-01T21:01:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to solve mutliple bb files to be built which each provide the same package in yocto?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-solve-mutliple-bb-files-to-be-built-which-each-provide/m-p/449972#M69666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you .&lt;BR /&gt;i don't know why i have to modify meta-fsl-bsp-release/imx/meta-fsl-arm/conf/layer.conf .in my opinion,changing mykernel's layer.conf can also work well ,but it didn't&lt;/P&gt;&lt;P&gt;doesn't&amp;nbsp; it search "provides" from the higher &lt;SPAN&gt;Priority‘s layer ?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 May 2015 11:59:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-solve-mutliple-bb-files-to-be-built-which-each-provide/m-p/449972#M69666</guid>
      <dc:creator>mariclewang</dc:creator>
      <dc:date>2015-05-05T11:59:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to solve mutliple bb files to be built which each provide the same package in yocto?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/How-to-solve-mutliple-bb-files-to-be-built-which-each-provide/m-p/449973#M69667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; If I understand correctly, “PROVIDES” does not depend so much on the layer’s priorities. The default provider is the provider with the same name as the target. Bitbake defaults to the highest version of a provider rather than the one located in the layer with the highest priority. &lt;/P&gt;&lt;P&gt;There is some information on section 2.4 of the Bitbake User’s Manual (link below).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.yoctoproject.org/docs/1.7/bitbake-user-manual/bitbake-user-manual.html"&gt;http://www.yoctoproject.org/docs/1.7/bitbake-user-manual/bitbake-user-manual.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2015 19:38:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/How-to-solve-mutliple-bb-files-to-be-built-which-each-provide/m-p/449973#M69667</guid>
      <dc:creator>gusarambula</dc:creator>
      <dc:date>2015-05-21T19:38:56Z</dc:date>
    </item>
  </channel>
</rss>

