需要在开发板镜像中编译应用程序, 可在bsp包的build/conf/local.conf文件增加以下内容:

IMAGE_FEATURES_append = " tools-sdk dev-pkgs"

在yocto的参考文档可找到对tools-sdk和dev-pkgs这两个特性的说明:

https://www.yoctoproject.org/docs/2.3/ref-manual/ref-manual.html

"dev-pkgs" - Adds -dev packages for all installed packages.
             This is useful if you want to develop against
             the libraries in the image.


"tools-sdk" - Adds development tools such as gcc, make,
              pkgconfig and so forth.

另外, 可在参考文档中的Image Features章节中找到更多镜像的其他特性说明.

  • No labels