Porting and debugging the Android system ---> make commands commonly used in Android

Source: Internet
Author: User

1. Make-jxx
 XX indicates a number. This command will compile the Android system and generate an image. XX indicates the number of CPU cores that can be used, which is particularly useful on the configured computer, it takes less than 20 minutes for the company's 16-core Ubuntu server to execute make-j16, while it takes 4 hours for the dual-core PC!

2.Make
Snod
  This command will re-generate the image, which consumes very little time. Similar to the makeimg process of wince, it is useful if you modify some data files (such as music and video.

3. Make cts
 This command will compile the CTS and put the compiled results under the Data/APP directory of the out directory. Useful for CTs Testing

4. Make installclean
  
This command clears the content in the corresponding board folder under the out directory, which is equivalent to make clean. If you change some data files (such as removing them), You 'd better execute the following make installclean command, otherwise, the files left in the out directory will be packaged.

5. mm/MM-B
  
I like this command most in development and debugging. By executing this command in a modified directory, I can intelligently compile it. The output files are pushed to the target machine through ADB, debugging is convenient.

6. Make SDK
  
This command can generate a publishable SDK, which has not been tried yet. It is said that jdk1.5 is required.

7. Make setting
  
You can compile the setting module separately. I haven't tried it yet. I wonder if I can compile the e-mail and music modules separately.

8. Make bootimage

  Use this command to generate boot. IMG, which contains Linux
Kernel, RAM disk, the generated boot. IMG can only be burned through fastboot, which is useful when only the Linux kernel is modified.


========================================================== ========================================================== ============================

Author: Ouyang Peng: Welcome to repost. sharing with others is the source of progress!

Reprinted Please retain the original address: http://blog.csdn.net/ouyang_peng

========================================================== ========================================================== ============================

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.