2 make clean:删除本次配置所编译输出的结果文件。类似于:rm –rf ./out/ <configuration>
2 make clobber:删除所有配置所编译输出的结果文件。类似于:rm –rf ./out/
2 make dataclean:make dataclean deletes contents of the data directory inside the current combo directory. This is especially useful on the simulator and emulator, where the persistent data remains present between builds.
2 make showcommands:在编译的时候显示脚本的命令,而不是显示编译的简报。用于调试脚本。
In order to make easier for people when the build system changes, when it is necessary to make changes to buildspec.mk or to rerun the environment setup scripts, they contain a version number in the variable BUILD_ENV_SEQUENCE_NUMBER. If this variable does not match what the build system expects, it fails printing an error message explaining what happened. If you make a change that requires an update, you need to update two places so this message will be printed.
· In config/envsetup.make, increment the CORRECT_BUILD_ENV_SEQUENCE_NUMBER definition.
· In buildspec.mk.default, update the BUILD_ENV_SEQUENCE_DUMBER definition to match the one in config/envsetup.make
The scripts automatically get the value from the build system, so they will trigger the warning as well.
6.2. makefile文件控制整个android系统编译的make文件。其内容如下:### DO NOT EDIT THIS FILE ###include build/core/main.mk### DO NOT EDIT THIS FILE ###可以看出,实际上控制编译的文件是:build/core/main.mk6.3. Make命令2 make droid...