How to compile modules in Android with mm and MMM

Source: Internet
Author: User

//*******************************************************************
Methods of using mm and MMM:
1. Enter Android root directory: cd Your-android-source-path
2, will envsetup.sh source come in:. build/envsetup.sh (note: There are spaces behind)
3, after you can use mm and mmm.
next to explain the difference between mm and MMM:
mm: Compile the current directory of the module, the current directory to have android.mk file.
mmm path: Compiles the module under the specified path, specifying the path to the Android.mk file.
Here is an example, let's say I want to compile the Libjpeg module under Android, the current directory is the source root directory, the method is as follows:
1,. build/envsetup.sh
2, MMM external/jpeg/or: 1,. build/envsetup.sh
2. CD External/jpeg
3, MM
**********************************************************************//
Excerpt from Baidu know

Note: not noticed before. There's a space behind.
Lunch platform required after envsetup.sh
Under the same terminal, do mm (different terminal tags are not)

How to compile modules in Android with mm and MMM

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.