<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 = "mydistro"<br>DISTRO_NAME = "My Distro"<br>
DISTRO_VERSION = "1.01"<br>MACHINE = "cedartrail"<br>...<br><br></div>I also created "conf/auto.conf" file with following content:<br>DISTRO = "mydistro"<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 "conf/auto.conf" I get following error:<br><br>ERROR: OE-core'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 "auto.conf") and each distro knows its machine to build for. So specifying MACHINE in "auto.conf" isn'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>