2017-08-26 42 views
0

我是yocto的新手,試圖使用local.conf中的IMAGE_INSTALL_append =「gdb」將gdb添加到生成的圖像中。使用yocto將gdb包添加到riscv圖像

我得到了以下錯誤:

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'] 

我怎樣才能解決這個問題? 謝謝!

回答

0

的覆蓋式追加你用字面上只追加你給變量值的字符串:這意味着你需要添加一個預謀空間自己:

IMAGE_INSTALL_append = " gdb"