【问题标题】:add gdb package to riscv image using yocto使用 yocto 将 gdb 包添加到 riscv 图像
【发布时间】:2017-08-27 01:24:58
【问题描述】:

我是 yocto 的新手,正在尝试使用 local.conf 中的 IMAGE_INSTALL_append="gdb" 将 gdb 添加到生成的图像中。

我收到以下错误:

ERROR: Nothing RPROVIDES 'python-compilegdb' (but /home/osdev/riscv-poky/build/../meta-riscv/recipes-core/images/core-image-riscv.bb RDEPENDS on or otherwise requires it)

NOTE: Runtime target 'python-compilegdb' is unbuildable, removing...

Missing or unbuildable dependency chain was: ['python-compilegdb']
ERROR: Required build target 'core-image-riscv' has no buildable providers.

Missing or unbuildable dependency chain was: ['core-image-riscv', 'python-compilegdb']

如何解决此错误? 谢谢!

【问题讨论】:

    标签: yocto riscv


    【解决方案1】:

    您使用的覆盖样式追加仅将您提供的字符串附加到变量值:这意味着您需要自己添加一个前置空格:

    IMAGE_INSTALL_append = " gdb"
    

    【讨论】:

      猜你喜欢
      • 2020-06-22
      • 1970-01-01
      • 2021-02-11
      • 1970-01-01
      • 1970-01-01
      • 2018-07-24
      • 1970-01-01
      • 1970-01-01
      • 2022-10-14
      相关资源
      最近更新 更多