Pat*_*ork 6 sdk qemu ncurses bitbake yocto
我正在尝试使用 Yocto 的 sdk 工具交叉编译 Yocto qemu 程序。设置 sdk 并获取它后,尝试交叉编译程序失败,因此:
*** Unable to find the ncurses libraries or the
*** required header files.
*** 'make menuconfig' requires the ncurses libraries.
***
*** Install ncurses (ncurses-devel) and try again.
***
Run Code Online (Sandbox Code Playgroud)
因此,我将其添加ncurses到IMAGE_INSTALL图像配方中的列表中,就像我安装了 dropbear 等其他软件包一样,并确认meta提供这些软件包的层已包含在bblayers.conf文件中。然后
TOOLCHAIN_HOST_TASK += "nativesdk-ncurses nativesdk-ncurses-dev"
Run Code Online (Sandbox Code Playgroud)
还被添加到图像的配方中,以告诉 bitbake 为主机的 sdk 提供对 ncurses 的访问权限。我尝试添加几个变体nativesdk-ncurses-devel,以更接近地匹配错误所要求的内容,但图像无法用它来构建。之后,重新构建了镜像和sdk并重新获取了源代码,但在尝试交叉编译程序时,它仍然要求Install ncurses (ncurses-devel) and try again.
所以我的问题是:
ncurses如何正确添加到Yocto的主机sdk环境中?我缺少一个步骤吗?所需的 ncurses 文件与层中找到的文件不一样吗meta?
任何帮助将不胜感激。
-补丁
请在nativesdk-packagegroup-sdk-host.bb中添加所需的包作为RDEPENDS_${PN}
| 归档时间: |
|
| 查看次数: |
8447 次 |
| 最近记录: |