<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>4907</bug_id>
          
          <creation_ts>2013-07-25 07:10:53 +0000</creation_ts>
          <short_desc>Add an external sourcery chain example with documentation</short_desc>
          <delta_ts>2015-02-19 23:26:01 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>9</classification_id>
          <classification>Documentation</classification>
          <product>General Docs</product>
          <component>docs-general</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>19 February 2015: RESOLVED</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.8</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Laszlo Papp">lpapp</reporter>
          <assigned_to name="Christopher Larson">kergoth</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>kergoth</cc>
    
    <cc>laurentiu.palcu</cc>
    
    <cc>ross.burton</cc>
    
    <cc>sgw</cc>
    
    <cc>srifenbark</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Done (doc changes complete)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>34840</commentid>
    <comment_count>0</comment_count>
    <who name="Laszlo Papp">lpapp</who>
    <bug_when>2013-07-25 07:10:53 +0000</bug_when>
    <thetext>This is not available in the currently released documentation. Perhaps, it is available in the next, but even then, we would need a more thorough documentation, preferably with a concrete example.

See, what the Linaro guys wrote up for reference: http://arago-project.org/wiki/index.php/Setting_Up_Build_Environment</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34863</commentid>
    <comment_count>1</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2013-07-25 09:05:45 +0000</bug_when>
    <thetext>Currently, this is what we have in the docs on toolchain use.  What I need is an assessment of where in particular it is lacking to satisfy this bug.

http://www.yoctoproject.org/docs/1.5/ref-manual/ref-manual.html#var-TCMODE
http://www.yoctoproject.org/docs/1.5/ref-manual/ref-manual.html#cross-development-toolchain-generation
http://www.yoctoproject.org/docs/1.5/ref-manual/ref-manual.html#idp1628192
http://www.yoctoproject.org/docs/1.5/adt-manual/adt-manual.html#using-an-existing-toolchain-tarball

Thanks, 
Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34864</commentid>
    <comment_count>2</comment_count>
    <who name="Laszlo Papp">lpapp</who>
    <bug_when>2013-07-25 09:08:42 +0000</bug_when>
    <thetext>Can you show me a real world example, and not just plain documentation?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34867</commentid>
    <comment_count>3</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2013-07-25 09:13:27 +0000</bug_when>
    <thetext>Yes - real-world examples are good and I can include one.  Can you tell me though if the information that is currently there would allow a person to use an external toolchain?  Knowing if that is true or not would help me better develop where to put an example.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>34868</commentid>
    <comment_count>4</comment_count>
    <who name="Laszlo Papp">lpapp</who>
    <bug_when>2013-07-25 09:15:08 +0000</bug_when>
    <thetext>See bug 4908 which has been blocking my full-time job since yesterday.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38374</commentid>
    <comment_count>5</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2013-10-31 17:37:17 +0000</bug_when>
    <thetext>Setting target for 1.6.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42504</commentid>
    <comment_count>6</comment_count>
    <who name="Laszlo Papp">lpapp</who>
    <bug_when>2014-04-10 09:35:58 +0000</bug_when>
    <thetext>Phew, I seem to have been frustrated here earlier. I sincerely apologize about that.

I think the only issue that I see now is that the EXTERNAL_TOOLCHAIN variable is not documented in the &quot;glossary&quot;.

If that is added, that would satisfy me for now.

Here is an example for the mentor graphics code sourcery toolchain:

    EXTERNAL_TOOLCHAIN = &quot;/usr/local/arm-2009q1&quot;

It is basically setting the path to the toolchain root if I understand it correctly, but I may be wrong.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42510</commentid>
    <comment_count>7</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-04-10 10:06:53 +0000</bug_when>
    <thetext>The tricky thing is the parts of this that matter (as in the parts that read EXTERNAL_TOOLCHAIN) are no longer in OE-Core. We could still document usage of  meta-sourcery as an example of external toolchain usage, but it would need to be done in cooperation with the Mentor Graphics folks that maintain it and at this point in the release cycle it&apos;s 1.7 material.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42511</commentid>
    <comment_count>8</comment_count>
    <who name="Laszlo Papp">lpapp</who>
    <bug_when>2014-04-10 10:23:31 +0000</bug_when>
    <thetext>That is fine, Paul.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>42523</commentid>
    <comment_count>9</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2014-04-10 13:31:45 +0000</bug_when>
    <thetext>Hi,

Based on the comments, I am pushing this one to 1.7.  Also changing to ACCEPTED so the filters don&apos;t catch the bug for NEEDINFO.

Thanks, 
Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43967</commentid>
    <comment_count>10</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2014-06-16 07:09:13 +0000</bug_when>
    <thetext>Paul,

What can be done now with this bug?  Is it appropriate to document meta-sourcery as an example of external toolchain usage as you suggested?  Does Mentor need to be consulted/worked with?

Thanks, 
Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44376</commentid>
    <comment_count>11</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2014-07-08 12:47:20 +0000</bug_when>
    <thetext>Setting the milestone to M3.  I still need some guidance on this so when Paul gets back I can hopefully get that.

Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>45011</commentid>
    <comment_count>12</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-08-07 15:05:22 +0000</bug_when>
    <thetext>So, I&apos;m marking this as ACCEPTED rather than NEEDINFO since it is now assigned to me rather than Scott.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47240</commentid>
    <comment_count>13</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-11-27 16:46:12 +0000</bug_when>
    <thetext>I feel like I&apos;m actually not very well set up to write about external toolchain setup.

Chris, can I ask you to take care of this? Scott just needs some raw background material for the manual, if you could send him something that would be great.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48345</commentid>
    <comment_count>14</comment_count>
    <who name="Christopher Larson">kergoth</who>
    <bug_when>2015-01-28 00:27:58 +0000</bug_when>
    <thetext>Sorry for the delay on this. Scott, I think the readme over at https://github.com/MentorEmbedded/meta-sourcery should be current and covers the usage of the layer. I&apos;ll leave it to you as to whether to duplicate it or link to it. Essentially you add the layer to bblayers and set EXTERNAL_TOOLCHAIN = &quot;/path/to/toolchain/install&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48836</commentid>
    <comment_count>15</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2015-02-13 19:12:07 +0000</bug_when>
    <thetext>Hi, 

I have adjusted the documentation to address this situation.  Please review the following areas:

  http://www.yoctoproject.org/docs/1.8/adt-manual/adt-manual.html#optionally-using-an-external-toolchain

  http://www.yoctoproject.org/docs/1.8/ref-manual/ref-manual.html#var-TCMODE

thanks, 
Scott</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48837</commentid>
    <comment_count>16</comment_count>
    <who name="Laszlo Papp">lpapp</who>
    <bug_when>2015-02-13 19:20:35 +0000</bug_when>
    <thetext>Thank you, Scott.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48838</commentid>
    <comment_count>17</comment_count>
    <who name="Christopher Larson">kergoth</who>
    <bug_when>2015-02-13 20:21:06 +0000</bug_when>
    <thetext>Looks good.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>48948</commentid>
    <comment_count>18</comment_count>
    <who name="Scott Rifenbark">srifenbark</who>
    <bug_when>2015-02-19 23:26:01 +0000</bug_when>
    <thetext>Hi, 

Looks like we have approvals for this fix.  I am marking the issue RESOLVED and setting the documentation flag to &quot;done.&quot;

Thanks,
Scott</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>