<div dir="ltr"><div><div>I have several distro config files. I bind each of them to single machine like this:<br><br></div><div># cat conf/distro/mydistro.conf<br><br></div><div>DISTRO = &quot;mydistro&quot;<br>DISTRO_NAME = &quot;My Distro&quot;<br>
DISTRO_VERSION = &quot;1.01&quot;<br>MACHINE = &quot;cedartrail&quot;<br>...<br><br></div>I also created &quot;conf/auto.conf&quot; file with following content:<br>DISTRO = &quot;mydistro&quot;<br></div><div></div>to specify distro to build.<br clear="all">
<div><div><div><br></div><div>The problem is that without specifying MACHINE in &quot;conf/auto.conf&quot; I get following error:<br><br>ERROR:  OE-core&#39;s config sanity checker detected a potential misconfiguration.<br>
    Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).<br>    Following is the list of potential problems / advisories:<br><br>    TUNE_ARCH is unset. Please ensure your MACHINE configuration includes a valid tune configuration file which will set this correctly.<br>
Error, the PACKAGE_ARCHS variable does not contain TUNE_PKGARCH ().Toolchain tunings invalid:<br>No tuning found for default multilib.<br></div><div><br><br></div><div>I use a script to change distro (in &quot;auto.conf&quot;) and each distro knows its machine to build for. So specifying MACHINE in &quot;auto.conf&quot; isn&#39;t desirable.<br>
<br></div><div>Can someone tell what did I miss?<br></div><br><div>-- <br>Best regards,<br>Yevhen
</div></div></div></div>