To download the Linux kernel adapted to Android, it should be downloaded via the URL provided by Google, not just downloadable. After strictly performing the steps on the book you can download the source code for Android. By relying on the repository (. git), you can easily download the updated version of the content via Repo sync, and do not delete the. git.
We can also only download part of the source code, through Reop sync platform/want to download the parts of the directory, you can find that to accurately download, you must be familiar with the software directory structure. You can also complete a partial download by using Git to clone a specific part of the URL.
Envsetup.sh is used to initialize the compilation environment, which is a footstep file that defines many commands, while the compiled command MMM is more useful than mm.
Lunch Select the compile target, make command to compile, here refers to the core number of CPU plus-JN parameters, is the first I see, this is a way to improve the speed of the compilation of the Key method.
The host in the Out directory is the runtime and tool that is used on the build platform, and target is stored directly on the Android device, which is a good embodiment of the cross-compilation approach.
Software installation packages such as Apk,iso file formats are essentially a compressed file that can be extracted by extracting the files. And the book taught us to pack their own programs into Android built-in program release, in many Android phones have this phenomenon, to a certain extent, the user has become troubled.
Android Deep Exploration notes-fourth Chapter