Skip to content

chenyuwen/zte_raise_CM7MOD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

---------------
构建环境:
---------------

添加java6源
 On Ubuntu 10.10, and variants, you need to enable the parter repository to install sun-java6-jdk:
add-apt-repository "deb http://archive.canonical.com/ maverick partner" 

安装相关依赖
For 32-bit & 64-bit systems:
sudo apt-get install git-core gnupg flex bison gperf libsdl1.2-dev libesd0-dev libwxgtk2.6-dev squashfs-tools build-essential zip curl libncurses5-dev zlib1g-dev sun-java6-jdk pngcrush schedtool
For 64-bit only systems:
sudo apt-get install g++-multilib lib32z1-dev lib32ncurses5-dev lib32readline5-dev gcc-4.3-multilib g++-4.3-multilib

-----------------
下载源码:
-----------------

构建目录
mkdir -p ~/bin 
mkdir -p ~/*源码目录*

下载安装repo
Enter the following to download make executable the "repo" binary:
curl http://android.git.kernel.org/repo > ~/bin/repo 
chmod a+x ~/bin/repo

同步源码
cd ~/*源码目录*
repo init -u git://github.com/CyanogenMod/android.git -b gingerbread 
repo sync -j5

--------------------
打上补丁
-------------------
下载此补丁覆盖到源码目录


------------------
编译
------------------
build/env*
lunch
make -j2

Releases

No releases published

Packages

No packages published