loginid=wangzhijun@cnzcom.com,time=2013-06-20 10:22:10,ip=183.16.201.213,doctitle=ALPS_Build_Environment_on_Ubuntu_10.04_64-bit_Installation_SOP_4.1_4.2.docx,company=Lightning_WCX
Luna Yu Android 4.0 Build Environment on Ubuntu 10.04 64-bit Installation SOP
iii
2.3.3 Press “Windows+R” on keyboard, and enter “mstsc” command. ...................... 7
2.3.4 The RDP Connection will start. Enter the host name and connect. .................... 8
2.3.5 Use your username and password to login ......................................................... 8
2.3.6 Remove Ubunbtu 10.10 and Keep Ubuntu 10.04 APT repository .................. 8
3 Install Software and Compilation Tool Chain 9
3.1 Required Packages & recommend installation way ....................................................... 9
3.2 Install build relative packages (recommended installation way) .................................. 10
3.3 Install arm-linux-androideabi-4.4.x (recommended installation way) ......................... 11
3.3.1 Install arm-linux-androideabi-4.4.x .................................................................. 11
Please get from prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x directly(Due
to the web interface closed by Google for restore activity up to now) ............. 11
3.4 Install JDK 1.6 (recommended installation way) ......................................................... 11
3.4.1 Download JDK 1.6 ............................................................................................ 11
3.4.2 Click jdk-6u23-linux-x64.bin ........................................................................... 12
3.4.3 Install SDK 1.6 .................................................................................................. 12
3.5 Install wine (alternative installation way) ..................................................................... 12
3.5.1 Download wine ................................................................................................. 12
3.5.2 Untar wine.tar.gz ............................................................................................... 13
3.5.3 Make & install wine .......................................................................................... 13
3.6 Install flex (alternative installation way) ...................................................................... 13
3.6.1 Download flex-2.5.35 ....................................................................................... 13
3.6.2 dpkg –i flex ....................................................................................................... 13
3.7 Install bison (alternative installation way) .................................................................... 14
3.7.1 Download bison-2.4.1 ....................................................................................... 14
3.7.2 dpkg –i bison ..................................................................................................... 14
3.8 Install gperf (alternative installation way) .................................................................... 14
3.8.1 Download gperf-3.0.3 ....................................................................................... 14
3.8.2 dpkg –i gperf ..................................................................................................... 14
3.9 Install curl (alternative installation way) ...................................................................... 14
3.9.1 Download curl-7.19.7 ....................................................................................... 14
3.9.2 dpkg –i curl-7.19.7 ............................................................................................ 14
3.10 Install zlib1g-dev (alternative installation way) ........................................................... 14
3.10.1 Download zlib1g-dev 1.2.3.3 ............................................................................ 14
3.10.2 dpkg –i zlib1g-dev ............................................................................................ 14
4 Configure Build Profile 15
4.1 Create/Configure android build environment profile ................................................... 15
4.2 Source android profile file before build the codebase .................................................. 15
MEDIATEK CONFIDENTIAL
FOR wangzhijun@ cnzcom.com USE ONLY