bitbake devtool 失败并出现错误:图层工作区层不兼容

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

将项目图层从 kirkstone 更新为 nanbield 后。 开发工具不能再工作了。每次当我尝试运行 devtool 时,都会显示以下错误打印

NOTE: Starting bitbake server...
ERROR: Layer workspacelayer is not compatible with the core layer which only supports these series: nanbield (layer is compatible with ${LAYERSERIES_COMPAT_core})
ERROR: Layer workspacelayer is not compatible with the core layer which only supports these series: nanbield (layer is compatible with ${LAYERSERIES_COMPAT_core})

有人有魔法可以解决这个问题吗?

yocto bitbake
1个回答
0
投票

我暂时解决这个问题的方法是:

更改文件中的以下行

build/workspace/conf/layer.conf

LAYERSERIES_COMPAT_workspacelayer = "${LAYERSERIES_COMPAT_core}"

LAYERSERIES_COMPAT_workspacelayer = "kirkstone nanbield"
© www.soinside.com 2019 - 2024. All rights reserved.