无法解析 meta-oe/conf/layer.conf

Unable to parse meta-oe/conf/layer.conf

当我想为 intel Galileo 构建 yocto 映像时, 我遵循了网站中提到的这些说明

https://software.intel.com/en-us/blogs/2015/03/04/creating-a-yocto-image-for-the-intel-galileo-board-using-split-layers

当我尝试执行命令时

$ bitbake iot-devkit-prof-dev-image  

我得到

=============================================================================
 ERROR: Unable to parse /home/iotdk/meta-oe/meta-oe/conf/layer.conf: file /home/iotdk/meta-oe/meta-oe/conf/layer.conf not found
intel1@intel1-All-Series:~/iotdk/meta/recipes-core/os-release/build$ bitbake iot-devkit-prof-dev-image
ERROR: Traceback (most recent call last):
  File "/home/intel1/iotdk/bitbake/lib/bb/cookerdata.py", line 174, in wrapped
    return func(fn, *args)
  File "/home/intel1/iotdk/bitbake/lib/bb/cookerdata.py", line 184, in parse_config_file
    return bb.parse.handle(fn, data, include)
  File "/home/intel1/iotdk/bitbake/lib/bb/parse/__init__.py", line 107, in handle
    return h['handle'](fn, data, include)
  File "/home/intel1/iotdk/bitbake/lib/bb/parse/parse_py/ConfHandler.py", line 120, in handle
    abs_fn = resolve_file(fn, data)
  File "/home/intel1/iotdk/bitbake/lib/bb/parse/__init__.py", line 130, in resolve_file
    raise IOError("file %s not found" % fn)
IOError: file /home/iotdk/meta-oe/meta-oe/conf/layer.conf not found

ERROR: Unable to parse /home/iotdk/meta-oe/meta-oe/conf/layer.conf: file /home/iotdk/meta-oe/meta-oe/conf/layer.conf not found
================================================================

检查 conf/bblayers.conf 中的 meta-oe 路径。 meta-oe 的图层路径应该是这样的

/home/intel1/iotdk/meta-oe/meta-oe \

我认为您在该行的 /home/ 之后缺少 intel1

当您向 bblayers.conf 添加路径时,您应该在路径末尾的反斜杠 () 之前给出一些 space 样本路径:\home\Downloads\poky\meta-intel\