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

在图像上添加增强的正确图层在哪里?
/build/conf/local.conf?或者我应该扩展一个新层来增加提升?
我需要 boost 来编译 mongodb,它也位于 meta-oe 层。

我的 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 \
  "

我的构建/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 来编译自己。我怎么解决这个问题?

此致,

最佳答案

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

local.conf 是您进行所有定制的地方,您想为机器的图像做什么。

因此,将 IMAGE_INSTALL_append = " boost" 放入 local.conf。请注意,没有 +=

关于yocto - 添加 boost 配方的正确层在哪里?,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/37886638/

10-16 07:04