Re: Get target machine
On 12/1/22 13:55, Iggy via lists.yoctoproject.org wrote:
Hi,You are building for a specific machine (MACHINE in your local.conf or via command line argument for example), so Yocto definitely knows it.
Then your machine configuration file (the one in the form of <machinename>.conf contains multiple MACHINEOVERRIDES in .inc files which define "families" under which your machine could be matched.
Since MACHINEOVERRIDES is part of OVERRIDES variable which is used to filter some variables "overrides", it'll just work (e.g. EXTRA_OECMAKE_append_<machinename>).
Hope this helps,