Add a product to the Android system-graphic explanation

Source: Internet
Author: User

Add a product to the Android system-graphic explanation

This article introduces how to add a product to an Android system in the spirit of open source. Based on the following process, I believe that everyone in this industry can complete the process, in fact, it is not difficult to add a product. It is difficult to modify its related hardware.

First, create a directory for your product.For example, WY is used as the product name..

First, copy A. mk file named after the product name from an existing product and change it to your. mk file. Here it is WY. mk.

Modify it as follows:


Then add AndroidProducts. mk. This is the path to the configuration file name of the added product. The effect is as follows:



Copy BoardConfig. mk to the current file: <喎?http: www.bkjia.com kf ware vc " target="_blank" class="keylink"> Vc3ryb25np1_vcd4kpha + icagicagicagpgltzybzcm9 "http://www.2cto.com/uploadfile/Collfiles/20141227/2014122708493586.png" alt = "\">


Add vendorsetup. sh to add the product name-the compilation type to the lunch menu. When executing the lunch command, we can see that our product is in the options.



Run the source built/envsetup. sh command:



Run the lunch command:




Then compile make:


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.