简体   繁体   English

Yocto - 错误:图层目录“\”不存在

[英]Yocto - ERROR: Layer directory '\' does not exist

I am very new to Yocto.我对 Yocto 很陌生。

The aim is to customize a build for a particular embedded device.目的是为特定的嵌入式设备定制构建。 I am using Ubuntu 18.04 as the build host.我使用 Ubuntu 18.04 作为构建主机。 An SDK has already been provided for the device with all the Yocto layers etc. which I cloned, and now following instructions.已经为设备提供了 SDK 以及我克隆的所有 Yocto 层等,现在按照说明进行操作。

When I get to the stage to actually run the build with command as follows bitbake tr-bundle-sdk当我上台实际使用以下命令运行构建时bitbake tr-bundle-sdk

I receive the following error:我收到以下错误:

ERROR: Server log for this session (/home/tr-build/build/bitbake-cookerdaemon.log):
--- Starting bitbake server pid 3515 at 2021-05-15 20:03:38.165589 ---
ERROR: Layer directory '\' does not exist! Please check BBLAYERS in /home/tr-build/build/conf/bblayers.conf

I would think that this would be simple to resolve.我认为这很容易解决。 However, when I check the bblayers.conf file as below, nothing is obvious:但是,当我如下检查 bblayers.conf 文件时,没有什么明显的:

# Do not edit! This file is managed automatically by tr-build-env.

BBPATH = "${TOPDIR}"
BBFILES ?= ""

BBLAYERS ?= " \\
  ${TOPDIR}/../layers/openembedded-core/meta \\
  ${TOPDIR}/../layers/meta-openembedded/meta-multimedia \\
  ${TOPDIR}/../layers/meta-openembedded/meta-networking \\
  ${TOPDIR}/../layers/meta-openembedded/meta-oe \\
  ${TOPDIR}/../layers/meta-openembedded/meta-python \\
  ${TOPDIR}/../layers/meta-openembedded/meta-webserver \\
  ${TOPDIR}/../layers/meta-rauc \\
  "

Has anyone encountered a similar issue?有没有人遇到过类似的问题? Am I missing something obvious here?我在这里遗漏了一些明显的东西吗? Thanks in advance for any guidance.提前感谢您的任何指导。

# Do not edit! This file is managed automatically by tr-build-env.

BBPATH = "${TOPDIR}"
BBFILES ?= ""

BBLAYERS ?= " \
  ${TOPDIR}/../layers/openembedded-core/meta \
  ${TOPDIR}/../layers/meta-openembedded/meta-multimedia \
  ${TOPDIR}/../layers/meta-openembedded/meta-networking \
  ${TOPDIR}/../layers/meta-openembedded/meta-oe \
  ${TOPDIR}/../layers/meta-openembedded/meta-python \
  ${TOPDIR}/../layers/meta-openembedded/meta-webserver \
  ${TOPDIR}/../layers/meta-rauc \
  "

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM