[bitbake-devel] mistake in chapter 2.1

Robert Yang liezhi.yang at windriver.com
Mon Aug 20 08:37:33 UTC 2018



On 08/17/2018 07:55 PM, Slaev, Ivan wrote:
> Dear bitbake-devel (community) :),
> 
> While I was reading the 2.1 chapter of bitbake manual, I thing I found a mistake in:
> 
> The |layer.conf| files are used to construct key variables such as |BBPATH| 
> <https://www.yoctoproject.org/docs/2.4/bitbake-user-manual/bitbake-user-manual.html#var-BBPATH> 
> and |BBFILES| 
> <https://www.yoctoproject.org/docs/2.4/bitbake-user-manual/bitbake-user-manual.html#var-BBFILES>. 
> |BBPATH| is used to search for configuration and class files under the |conf| 
> and |classes| directories, respectively. |BBFILES| is used to locate both recipe 
> and recipe append files (|.bb| and |.bbappend|). If there is no |bblayers.conf| 
> file, it is assumed the user has set the |BBPATH| and |BBFILES| directly in the 
> environment.
> 
> In my opinion the last sentence should be: If there is no |layer.conf| file, it 
> is assumed the user has set the |BBPATH| and |BBFILES| directly in the environment.

I think no, layer.conf is a must for a layer, otherwise, you would get error
when parsing. The bblayers.conf is <build_dir>/conf/bblayers.conf, which is
used in build directory.

// Robert

> 
> Please check my statement as I could be wrong about it.
> 
> Kind regards!
> 
> Ivan Slaev
> 
> 
> 



More information about the bitbake-devel mailing list