Fourth Reading notes

Source: Internet
Author: User

for Android source code download and porting development, if the user only need a portion of the code, then do not need to download all the code nearly 4GB, and only need to familiarize themselves with the source code of the directory structure, select the code you need to find and download the directory.

For the Android source code compilation problem, the first to initialize the compilation environment, using the lunch command to set a compilation target, and then execute the make command can be completed. When compiling the Android source code, there are two platforms running libraries and tools that run directly on the Android platform in the target directory and on the other hand in the host directory on the platform where the Android source code is compiled. Both the Android application development environment and the Linux kernel development environment must be built. After the basic installation work is completed, the development work can be carried out, for the development of the Linux kernel, the code initially seems to be quite cumbersome, the beginning can start from mastering the basic function interface, C language grammar also need to consolidate practice.

To configure the Linux kernel to be compiled, make config configures the Linux kernel from the textual aspect; Make Menuconfig configures the Linux kernel from the menu, and make Oldconfig the user configuration by the character interface; make Xconfig is configuring the Linux kernel from a graphical interface, these four configuration commands are done in the source code root directory. If you do not want to reconfigure the compilation environment, you can download the VMware Virtual machine environment.

http://www.cnblogs.com/sjjj/

Fourth Reading notes

Related Article

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.