Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revisionBoth sides next revision
zh:docs:guide-developer:using_the_sdk [2019/03/28 03:20] – [Troubleshooting] penghanyezh:docs:guide-developer:using_the_sdk [2019/03/28 03:34] – [Compile Packages] penghanye
Line 54: Line 54:
 保存配置并退出菜单.  保存配置并退出菜单. 
  
-==== Compile Packages ==== +==== 编译软件包 ==== 
-After the Makefile is in placethe usual buildroot commands apply:+建好Makefile之后就可以使用常规的buildroot命令:
  
-  * ''make package///example///download''download the soures of //example// +  * ''make package///example///download''下载 //example// 的源码 
-  * ''make package///example///prepare''extract the sourcesapply patches and download if necessary +  * ''make package///example///prepare''提取源码如果需要的话再下载补丁源码并使用 
-  * ''make package///example///compile''compile //example//, prepare and download if necessary +  * ''make package///example///compile''编译 //example//, 如果需要的话,先进行download和prepare 
-  * ''make package///example///clean''clean the sourcecode +  * ''make package///example///clean''清除源码 
-  * ''make package/index''build a repository index to make the output directory usable as local //opkg// source+  * ''make package/index''构建仓库索引, 将输出目录变成一个本地的//opkg//
  
-Or just ''make'' to build everything selected.  (You can compile faster by writing ''make -j5'' or similar as appopriate for your build host)+或者直接运行 ''make'' 来构建所有被选中的东西.  (可以用''make -j5'' 来加快构建, 或选择合适你的宿主机的参数)
  
-After the compilation is finishedthe generated .ipk files are placed in the bin/packages and bin/targets directories inside the directory you extracted the SDK into.+编译完成后生成的.ipk会被移动到SDK的解压目录的 bin/packages 和 bin/targets 目录中.
  
 ===== 故障 ===== ===== 故障 =====
 :!: 某些版本的SDK会有bugs.... :!: 某些版本的SDK会有bugs....
  • Last modified: 2021/10/15 08:21
  • by bobafetthotmail