SoFunction
Updated on 2025-04-04

Things to note when compiling Android

1. Make bootimage  Compilation and generation

The following files will be generated in the out directory.

  • Target ram disk: out/target/product/em_t8350_emmc/
  • Target boot image: out/target/product/em_t8350_emmc/

2. Clear all .o files of kernel:

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

3. Tips for compiling eng and user versions

After each source is then re-rm -rf out/target/product/em_t8350_emmc/obj/KERNEL_OBJ,

Then make bootimage and make -j32 and succeed.

In order to save time, it is recommended to change the out directory after each compilation is completed. Use which out to change the name of the out after the rename is required, and then perform the compilation operation.

Summarize

The above is the entire content of this article. I hope that the content of this article has certain reference value for your study or work. Thank you for your support. If you want to know more about it, please see the relevant links below