Considerations for Android Compilation

  • 2021-10-27 08:51:11
  • OfStack

1. make bootimage compilation generates the integration of kernel. img and boot. img

The following files are generated in the out directory.

Target ram disk: out/target/product/em_t8350_emmc/ramdisk.img Target boot image: out/target/product/em_t8350_emmc/boot.img

2. Clear all kernel files:

rm -rf out/product/em_t8350_emmc/obj/KERNEL_OBJ

3. Tips for compiling eng and user versions

Every time source is followed by the corresponding version of lunch, the files below rm-rf out/target/product/em_t8350_emmc/obj/KERNEL_OBJ are required first.

Then make bootimage followed by make-j32 can be successful.

In order to save time, it is recommended to rename out directory after each compilation, and replace out with out after renaming, and then compile.

Summarize


Related articles: