如何仅构建Android系统映像 [英] How to just build Android system image
问题描述
我在framework/base上做了一些小改动,并在该文件夹下做了一个"mm".现在,我不想在项目根目录上运行"make",因为包含进程的makefile非常慢.
I made some small changes in framework/base, and did a "mm" under that folder. Now I don't want to run "make" on the project root because the makefile including process is very slow.
是否有一种快速的方法来构建系统映像而无需经历冗长的包含过程?
Is there a quick way to just build the system image without going through the lengthy including process?
推荐答案
如果您的更改影响其他应用程序,请使用make systemimage
,否则使用make snod
.
If your changes effect other applications, use make systemimage
, otherwise use make snod
.
注意:make systemimage
将在编译过程中检查依赖关系,而make snod
不会执行此检查,因此前一个命令比后者需要更多的时间.
Notice:make systemimage
will check dependency during compile progress, while make snod
will not do this check, so the former command need more time than the latter.
这篇关于如何仅构建Android系统映像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!