Private: Re: [yocto] Get target machine


Makes sense. Thanks for your help.

Quentin Schulz

Hi Iggy,

Please keep the mailing list in copy.

On 12/2/22 02:58, j.ignatius via wrote:
Thanks Quentin for your reply.
I found a number of files under different target folders like xione-uk, xione-us, etc. These must be the machine configuration files.
How does yocto choose the right one? Are there some conditional expressions that do this? Could you give me an example?
You tell Yocto to build for a specific MACHINE (this is the name of the variable) either from the command line when calling bitbake or in your local.conf file in build/conf.

MACHINE is the filename without the extension where the configuration is located. e.g. xione-uk MACHINE definition will be in some layer in conf/machine/xione-uk.conf.