码迷,mamicode.com
首页 > 其他好文 > 详细

编译anroid 6.0.1_r77源码

时间:2017-06-07 15:36:38      阅读:189      评论:0      收藏:0      [点我收藏+]

标签:dos   span   tin   ml2   core   for   libxml   veh   bio   

 

shanyu@ubuntu:~$ sudo apt-get install -y git flex bison gperf build-essential libncurses5-dev:i386

shanyu@ubuntu:~$ sudo apt-get install libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-dev g++-multilib
Reading package lists... Done

shanyu@ubuntu:~$ sudo apt-get install tofrodos python-markdown libxml2-utils xsltproc zlib1g-dev:i386
Reading package lists... Done

shanyu@ubuntu:~$ sudo apt-get install dpkg-dev libsdl1.2-dev libesd0-dev
Reading package lists... Done

shanyu@ubuntu:~$ sudo apt-get install git-core gnupg flex bison gperf build-essential
Reading package lists... Done

shanyu@ubuntu:~$ sudo apt-get install zip curl zlib1g-dev gcc-multilib g++-multilib
Reading package lists... Done

shanyu@ubuntu:~$ sudo apt-get install libc6-dev-i386
Reading package lists... Done

shanyu@ubuntu:~$ sudo apt-get install lib32ncurses5-dev x11proto-core-dev libx11-dev
Reading package lists... Done

shanyu@ubuntu:~$ sudo apt-get install lib32z-dev ccache
Reading package lists... Done
Building dependency tree       

shanyu@ubuntu:~$ sudo apt-get install libgl1-mesa-dev libxml2-utils xsltproc unzip m4
Reading package lists... Done
Building dependency 

shanyu@ubuntu:~$ echo export USE_CCACHE=1 >> ~/.bashrc

shanyu@ubuntu:~$ cd srcAndroid/
shanyu@ubuntu:~/srcAndroid$ ls
abi  bionic    build  dalvik      development  docs     external                    frameworks  libcore          Makefile  packages  platform_testing  sdk     tools
art  bootable  cts    developers  device       down.sh  extract-qcom-hammerhead.sh  hardware    libnativehelper  ndk       pdk       prebuilts         system  vendor
shanyu@ubuntu:~/srcAndroid$ prebuilts/misc/linux-x86/ccache/ccache -M 50G

shanyu@ubuntu:~/srcAndroid$ sudo apt-get install curl
Reading package lists...

 

编译anroid 6.0.1_r77源码

标签:dos   span   tin   ml2   core   for   libxml   veh   bio   

原文地址:http://www.cnblogs.com/xunbu7/p/6956925.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!