MACHINE=xxx 无效。请在您的 local.conf 中设置有效的机器

问题描述 投票:0回答:1

开始构建时,我得到:

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'

在线搜索没有返回对我有用的结果。

yocto bitbake
1个回答
0
投票

确保 local.conf 中的机器名称

xxx
正确。

还要确保该机器在某个元层中有有效的配置。 IE。在所有元 yyy 目录中搜索

conf/machine/xxx.conf
文件。

find . -wholename "*conf/machine*" | grep xxx  # Remove grep to see all MACHINEs
© www.soinside.com 2019 - 2024. All rights reserved.