[yocto] local.conf confusion

Rudolf J Streif rudolf.streif at ibeeto.com
Wed Feb 20 10:43:05 PST 2019


Greg,

I am not entirely sure why you are including a machine configuration
include file into your conf/local.conf file.

However, the "include" directive is optional include and hence if the
file is not found Bitbake will not raise an error and terminate. If you
need that behavior use "require" instead.

Machine configuration files do commonly use includes for shared
configuration. You typically find them where the machine configuration
files are: conf/machine or in a subdirectory there. The directory
conf/machine is commonly found in BSP layers such as meta-raspberrypi
which you are probably using as you are building for RPi.

:rjs

On 2/20/19 10:16 AM, Greg Wilson-Lindberg wrote:
> Hello list,
>
> I've run into a confusion that should be simple. I've got a build based on sumo, at the bottom of my local.conf file is the line:
>
> include conf/distro/include/${MACHINE}.pre.inc
>
> This should be straight forward, just find the conf/distro/include directory and all of the *.pre.inc files should be there. I just searched all of the sources directory for  '*.pre.inc' and I get nothing. I'm building for a raspberry pi3, so I would expect at least 'raspberry*.inc', still nothing. I'm not getting an error for bitbake not being able to find the file.
>
> So where do I find the machine include files?
>
> Regards,
> Greg Wilson-Lindberg  
>     

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190220/932da654/attachment.pgp>


More information about the yocto mailing list