LinuxMint 18 Compiling cm notes

Source: Internet
Author: User

1 Installing the Software

  sudo apt-get install gedit git-core GNUPG Flex Bison gperf Libsdl1.2-dev libesd0-dev squashfs-tools build-essential Zip curl libncurses5-dev zlib1g-dev pngcrush schedtool libxml2 L Ibxml2-utils xsltproc lzop libc6-dev schedtool g++-multilib lib32z1-dev lib32ncurses5-dev gcc-multilib maven tmux screen W 3m ncftp ccache              

2 Installing Repo

mkdir ~/bin
git clone git://aosp.tuna.tsinghua.edu.cn/android/git-repo.git/ 
CP Git-repo/repo ~/bin/

3 Setting up the environment

Gedit ~/.BASHRC
Alias repo="~/bin/repo"export use_ccache=1export ccache_dir=/media/changyuet/cache/ CCache     

4 Synchronous Source

Cd/media/changyuet/android/mkdir CM13cd CM13repo init-u https://github.com/cyanogenmod/ Android.git-b cm-13.0    
Repo Sync--no-clone-bundle-c-j4

5 compiling

. build/Envsetup.shprebuilts/misc/linux-x86/ccache/ccache-M 50G
Brunch XXX
Or
Lunch
Make-j8 Otapackage

LinuxMint 18 Compiling cm notes

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.