Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

此时就可以继续执行yocto的指令。

我们有两种可选的开发包可以通过yocto来生成。

指令解释


Code Block
languagebash
themeMidnight
bitbake -c populate_sdk 
[image名称]
phytec-qt5demo-image


包含交叉工具链,以及文件系统中各个软件的头文件,库等,如QT。

“image名称”是指如phytec

其中phytec-qt5demo-

image这样的名称。

image也可以换为其他img对象。image对象和生成的sdk内容对应。



Code Block
languagebash
themeMidnight
bitbake meta-toolchain


只包含交叉工具链。

生成SDK需要一段时间,对于离线编译的BSP,需要修改 conf/site.conf 去掉 BB_NO_NETWORK,编译过程中需要下载一些文件。

...