开始构建时,我得到:
ERROR: OE-core's config sanity checker detected a potential misconfiguration.
Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
Following is the list of potential problems / advisories:
MACHINE=xxx is invalid. Please set a valid MACHINE in your local.conf, environment or other configuration file.
在
build/conf/local.conf
文件中,我告诉 bitbake 构建该机器:
MACHINE = 'xxx'
在线搜索没有返回对我有用的结果。
确保 local.conf 中的机器名称
xxx
正确。
还要确保该机器在某个元层中有有效的配置。 IE。在所有元 yyy 目录中搜索
conf/machine/xxx.conf
文件。
find . -wholename "*conf/machine*" | grep xxx # Remove grep to see all MACHINEs