How Android accelerates./MK Snod Pack

Source: Internet
Author: User
MM command to quickly compile a module, the general use of ADB push to the phone to see the effect, if the environment is not allowed to use ADB push or the module does not change often, want to directly put in the image, you can use./MK Snod, This command simply packages the system directory into system.img and then facilitates direct download, but the command is still slow (slow searching for all android.mk), and there is a way to speed up the compilation to less than 1 minutes


Modify ALPS/BUILD/CORE/MAIN.MK:
Subdir_makefiles: =\
$ (Shell build/tools/findleaves.py--prune=out--prune=.repo--prune=.git $ (subdirs) android.mk)
Modified to:
Ifneq ($ (makecmdgoals), Snod)
Subdir_makefiles: =\
$ (Shell build/tools/findleaves.py--prune=out--prune=.repo--prune=.git $ (subdirs) android.mk)
endif

The above avoids unnecessary time-consuming operations and accelerates./MK Snod Compilation

How Android accelerates./MK Snod Pack

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.