<?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>6561</bug_id>
          
          <creation_ts>2014-07-21 11:02:42 +0000</creation_ts>
          <short_desc>Enable easier external source tree builds</short_desc>
          <delta_ts>2015-06-08 18:25:01 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>devtools / tool chain</component>
          <version>1.7</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>1.8 M2</target_milestone>
          
          <blocked>6662</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>bruce.ashfield</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>twoerner</cc>
          
          <qa_contact name="Mihail Stanciu">stanciux.mihail</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Yes (doc changes required)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>44588</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-07-21 11:02:42 +0000</bug_when>
    <thetext>externalsrc.bbclass already provides the means to build from an external source tree, but setting it up requires a bit of manual work. It would make things easier if there was a script that walks you through this. There are two main scenarios we&apos;d want to handle:

1) User already has a source tree which we should build without touching

2) No external source tree already exists, in which case we fetch the source, apply patches to it and manage the result with git, optionally on top of the upstream git history if the source was fetched from a git repo. This is different to the normal situation where we have source in the workdir because after the initial fetch (which is done by the script and not the build system) and we never wipe out changes to the source.

(For brand-new components where there isn&apos;t already a recipe, this also ties in with bug 6406.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47686</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2014-12-26 11:53:34 +0000</bug_when>
    <thetext>A new &quot;devtool&quot; utility with a &quot;modify&quot; command was added to master in the following commit (a number of earlier supporting commits are also required):

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=cd5ca4a11daff2089ba3031103b9b9dab5b3c94e

Some basic QA tests have been added in meta/lib/oeqa/selftest/devtool.py. Documentation is still pending.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49970</commentid>
    <comment_count>2</comment_count>
    <who name="Mihail Stanciu">stanciux.mihail</who>
    <bug_when>2015-03-31 13:24:53 +0000</bug_when>
    <thetext>Verified on master: cd po</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49971</commentid>
    <comment_count>3</comment_count>
    <who name="Mihail Stanciu">stanciux.mihail</who>
    <bug_when>2015-03-31 13:25:50 +0000</bug_when>
    <thetext>Verified on master: 8b3d3e7c957ad06c390886487f69aeb8e145da6a</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>