添加提升配方的正确图层在哪里?

时间:2016-06-17 16:52:48

标签: yocto bitbake openembedded

我在下面的网站上查看了提升配方在https://layers.openembedded.org/layerindex/branch/master/layer/meta-oe/图层上。

在图像上添加增强效果的右侧图层在哪里? /build/conf/local.conf?或者我应该扩展一个新层来添加提升? 我需要使用boost来编译同样位于meta-oe层的mongodb。

我的bblayers.conf:

BBLAYERS ?= " \
  /home/joao/projetos/toradex/poky/meta \
  /home/joao/projetos/toradex/poky/meta-yocto \
  /home/joao/projetos/toradex/poky/meta-openembedded/meta-oe \
  /home/joao/projetos/toradex/poky/meta-yocto-bsp \
  /home/joao/projetos/toradex/poky/meta-fsl-arm \
  /home/joao/projetos/toradex/poky/meta-fsl-arm-extra \
  /home/joao/projetos/toradex/poky/meta-web-kiosk \
  /home/joao/projetos/toradex/poky/meta-web-kiosk-custom \
  "

我的build / conf / local.conf:

IMAGE_INSTALL_append = " boost"

当我尝试添加mongodb时,我收到错误:

# bitbake core-image-web-kiosk

NOTE: Resolving any missing task queue dependencies
ERROR: Nothing RPROVIDES 'mongodb' (but /home/joao/projetos/toradex/poky/meta-web-kiosk/recipes-browser/images/core-image-web-kiosk.bb RDEPENDS on or otherwise requires it)
ERROR: mongodb was skipped: Recipe is blacklisted: Fails to build with system boost
NOTE: Runtime target 'mongodb' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['mongodb']
ERROR: Required build target 'core-image-web-kiosk' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-web-kiosk', 'mongodb']

编译了boost,但是mongodb需要boost来编译自己。我该如何解决这个问题?

致以最诚挚的问候,

1 个答案:

答案 0 :(得分:3)

bblayers.conf指定元数据(存储食谱的目录)。

local.conf是您进行所有自定义操作的地方,您想为计算机的映像执行的操作。

所以,将IMAGE_INSTALL_append = " boost"放到local.conf中。请注意,没有+=