<?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>9014</bug_id>
          
          <creation_ts>2016-01-29 07:07:25 +0000</creation_ts>
          <short_desc>Can run &quot;bitbake recipe&quot; directly withtout initial</short_desc>
          <delta_ts>2016-01-29 07:46:21 +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>core</component>
          <version>2.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.1 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Robert Yang">liezhi.yang</reporter>
          <assigned_to name="Robert Yang">liezhi.yang</assigned_to>
          <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>ross.burton</cc>
          
          
          <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>58326</commentid>
    <comment_count>0</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2016-01-29 07:07:25 +0000</bug_when>
    <thetext>Now, when we want to run the build, we have to:

. /path/to/poky/oe-init-build-env builddir

We need do this again when we want to build it in a new terminal. It would be better if we can run:

* &quot;bitbake recipe&quot; in a new terminal directly if the project had been initialized. (assume bitbake/bin is in PATH, or use /path/to/bin/bitbake recipe if not).

* &quot;bitbake recipe&quot; directly if no conf/local.conf was found in current dir or parent dirs. It can assume CWD is the builddir, and use default local.conf.sample  as local.conf, and we also can use something like MACHINE=foo bitbake recipe.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58327</commentid>
    <comment_count>1</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2016-01-29 07:10:52 +0000</bug_when>
    <thetext>This is something similar to make, if there is a Makefile in CWD, then we can run make directly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58329</commentid>
    <comment_count>2</comment_count>
    <who name="Robert Yang">liezhi.yang</who>
    <bug_when>2016-01-29 07:46:21 +0000</bug_when>
    <thetext>After talked with RP, bitbake does support run &quot;bitbake recipe&quot; without initial the build dir again if /path/to/bitbake/bin is in PATH.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>