Android源码编译及Framework开发调试介绍

ROM编译

android源码目录下的build/envsetup.sh文件,描述编译的命令

- m:       Makes from the top of the tree.
- mm:      Builds all of the modules in the current directory.
- mmm:     Builds all of the modules in the supplied directories.

要想使用这些命令,首先需要在android源码根目录执行. build/envsetup.sh脚本设置环境
m:编译所有的模块
mm:编译当前目录下的模块,当前目录下要有Android.mk文件
mmm:编译指定路径下的模块,指定路径下要有Android.mk文件

你可能感兴趣的:(Android,进阶,android,ROM,Framework)