【问题标题】:layer configuration file unparsed line while creating Yocto build创建 Yocto 构建时层配置文件未解析的行
【发布时间】:2022-01-16 03:08:17
【问题描述】:

我在 poky/meta-test/conf 目录下有这个层配置文件

# We have a conf and classes directory, add to BBPATH
BBPATH .= ":${LAYERDIR}"
# We have recipes-* directories, add to BBFILES
BBFILES += "${LAYERDIR}/recipes-*/*/*.bb"
${LAYERDIR}/recipes-*/*/*.bbappend 
${LAYERDIR}/recipes-*/*.bb 
${LAYERDIR}/recipes-*/*.bbappend ” 
BBFILE_COLLECTIONS += “test” 
BBFILE_PATTERN_test = “^${LAYERDIR}/” 
BBFILE_PRIORITY_test = “13” 
LAYERVERSION_test = “13”

当我这样做时

source oe-init-build-env build
bitbake core-image-minimal //error at this

错误

ERROR: ParseError at /home/ubuntu/Desktop/embedded_Emdevor/my/my/poky/meta-test/conf/layer.conf:5: unparsed line: '${LAYERDIR}/recipes-*/*/*.bbappend'

【问题讨论】:

    标签: c linux embedded-linux yocto


    【解决方案1】:
    BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \
    ${LAYERDIR}/recipes-*/*/*.bbappend \
    ${LAYERDIR}/recipes-*/*.bb \
    ${LAYERDIR}/recipes-*/*.bbappend ” 
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-09-06
      • 1970-01-01
      • 2017-01-28
      • 2023-01-04
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多