This post will introduce on how to build the compiler environment.
Step one : Install the Ubuntu12.04.
You can use the CD image to finish the installation.
After finishing the installation. Update the system
Step two:
Download the SDK from the official website and buid the compiler environment.
You can download the SDK using git or download the compressed package directory.
The SDK website is : http://pan.baidu.com/s/1eQjBGQI?qq-pf-to=pcqq.c2c
While finish the download,you can follow the official steps to accomplish the compiler environment.
You can also use the scripts of java6.sh,ubuntu1204_evn.sh and arm.sh to install the environment.
1. Enter the command:
This command will install the JDK6(During the installation you may input "y"or "yes" to finish it)
Then the JDK installation is finished.
2. Enter the command :
Install the libs and packages which nedds for the compiling .
(During the installation you may input ˇ°yˇ± or ˇ°yesˇ± to finish it)
3. Enter the command:
Install the cross compile tools and the software package which needs for the kernel compiling.
Now, you have finished the compile environment installation .
4.If you download the SDK is compress package. You should check the MD5 code .
5. Decompress the SDK
After the SDK compression, you will get a ˇ°.gitˇ± file. This file is the management of git project. There is no source code in your directory. You
After run this command you can see the structure of source code.
6. Synchronous the source code
Now ,you have get the source code.
Go to the source code path
1.Source code compiling(Note:the kernel must be compiled first or android compiling will occur errors)
After go into the kernel path,run the command:
Then the kernel is build successfully.
2.Android compiling
Go into the root directory of SDK,run the command:
This will spend a long time. I use the lenovo L440 I5+2G laptop,it needs about 4 hours to compile.
Now , you have finished the android compiling.
@Andy
Will try this, first time I have seen the build done this way. Just one question and that is; Does this allow one to download the source files to the computer.
Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) | Powered by Discuz! X3.1 |