<?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: Building yocto using external toolchain?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Building-yocto-using-external-toolchain/m-p/237762#M19236</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mainly local.conf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There how-to's from Linaro community showing how to configure it. It's something like adding 3 lines to your local.conf, and untar the linaro toolchain in a known place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I prefer you take the Linaro community how-to, this way it's the most updated version.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Feb 2015 15:20:32 GMT</pubDate>
    <dc:creator>daiane_angolini</dc:creator>
    <dc:date>2015-02-04T15:20:32Z</dc:date>
    <item>
      <title>Building yocto using external toolchain?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Building-yocto-using-external-toolchain/m-p/237759#M19233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new to using Yocto, and would like to avoid it's habit of rebuilding the cross compiler each time it runs a clean build.&amp;nbsp; I have previously successfully built the SDK using 'bitbake meta-toolchain', and installed it to the default location /opt/poky/1.4.1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can now use this SDK to build apps external to yocto.&amp;nbsp; What I want to do is have yocto always use my new pre-built toolchain, instead of recreating gcc each time I perform a build.&amp;nbsp; I've researched the web, and have seen several people allude to how to solve this problem, but I haven't see an answer yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The poky handbook says &lt;/P&gt;&lt;BLOCKQUOTE&gt;
&lt;P&gt;"Using the external toolchains is simply a case of untarring the tarball into the root of your system (it only creates files in &lt;CODE class="filename"&gt;/usr/local/poky&lt;/CODE&gt;) and then enabling the option in &lt;CODE class="filename"&gt;local.conf&lt;/CODE&gt;. " &lt;/P&gt;
&lt;/BLOCKQUOTE&gt;&lt;P style="padding-left: 30px;"&gt;&lt;/P&gt;&lt;P&gt;But it doesn't tell you how... :smileysad:.&amp;nbsp; Anybody know how to do this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2013 19:57:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Building-yocto-using-external-toolchain/m-p/237759#M19233</guid>
      <dc:creator>Mike1z</dc:creator>
      <dc:date>2013-09-17T19:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Building yocto using external toolchain?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Building-yocto-using-external-toolchain/m-p/237760#M19234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In my opinion, you don´t need to care about "re-building" gcc each time you have a new clean build.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The option given to you to use an external toolchain with yocto, gives you the power to actually choose which *other* toolchain you want, for example, the linaro one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, if you really want a *different* toolchain, I think you should work to use an external toolchain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But, in other hand, if you only complain that build time take too much, there are other things you may change on your configuration in order to try to reduce this time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yocto always create a folder with the "pre-built" binaries from each package, it´s called sstate-cache. You can share this folder with your other build folders, or even with your co-workers. (&lt;A href="https://www.yoctoproject.org/docs/current/poky-ref-manual/poky-ref-manual.html#var-SSTATE_DIR" title="https://www.yoctoproject.org/docs/current/poky-ref-manual/poky-ref-manual.html#var-SSTATE_DIR"&gt;https://www.yoctoproject.org/docs/current/poky-ref-manual/poky-ref-manual.html#var-SSTATE_DIR&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my personal opinion, you should not use the meta-toolchain as "external" toolchain, you should use yocto toolchain "as-is", if you´re using an stable branch it will only be changed in case of a bugfix, and I think you want bugfixes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please, apologize my delay, I´ve been busy with meta-fsl-arm release these past days.... And please,&amp;nbsp; let me know your thoughts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2013 12:23:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Building-yocto-using-external-toolchain/m-p/237760#M19234</guid>
      <dc:creator>daiane_angolini</dc:creator>
      <dc:date>2013-10-01T12:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: Building yocto using external toolchain?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Building-yocto-using-external-toolchain/m-p/237761#M19235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Daiane,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you elaborate where exactly the changes have to made?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i am building YOCTO with poky distribution but i want linaro as external toolchain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manju &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2015 07:39:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Building-yocto-using-external-toolchain/m-p/237761#M19235</guid>
      <dc:creator>manjunathjoshi</dc:creator>
      <dc:date>2015-02-04T07:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Building yocto using external toolchain?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Building-yocto-using-external-toolchain/m-p/237762#M19236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Mainly local.conf&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There how-to's from Linaro community showing how to configure it. It's something like adding 3 lines to your local.conf, and untar the linaro toolchain in a known place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I prefer you take the Linaro community how-to, this way it's the most updated version.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Feb 2015 15:20:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Building-yocto-using-external-toolchain/m-p/237762#M19236</guid>
      <dc:creator>daiane_angolini</dc:creator>
      <dc:date>2015-02-04T15:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: Building yocto using external toolchain?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Building-yocto-using-external-toolchain/m-p/237763#M19237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Daiane,&lt;/P&gt;&lt;P&gt;Thank you for your immediate reply.&lt;/P&gt;&lt;P&gt;I added following lines in local.conf,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TCLIBC = "external-linaro-toolchain"&lt;/P&gt;&lt;P&gt;TCMODE = "external-linaro"&lt;/P&gt;&lt;P&gt;EXTERNAL_TOOLCHAIN = " /home/manjunath/linaro/gcc-linaro-arm-linux-gnueabihf-4.7-2013.01-20130125_linux/"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and i had to add .inc files for tclibc , tcmode and version in sources/poky/meta/conf/distro/include/&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Manju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Feb 2015 07:04:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Building-yocto-using-external-toolchain/m-p/237763#M19237</guid>
      <dc:creator>manjunathjoshi</dc:creator>
      <dc:date>2015-02-09T07:04:59Z</dc:date>
    </item>
  </channel>
</rss>

