HTCDreamBuild » History » Version 1
Denis 'GNUtoo' Carikli, 10/15/2010 01:42 AM
1 | 1 | Denis 'GNUtoo' Carikli | == Warning == |
---|---|---|---|
2 | Do not build as root,always build as user. |
||
3 | == Setup == |
||
4 | Get and install the repo tool |
||
5 | {{{ |
||
6 | mkdir bin |
||
7 | cd bin |
||
8 | wget http://android.git.kernel.org/repo |
||
9 | chmod a+x repo |
||
10 | cd .. |
||
11 | }}} |
||
12 | Get replicant 2.2 |
||
13 | {{{ |
||
14 | mkdir replicant-2.2 |
||
15 | cd replicant-2.2 |
||
16 | ../bin/repo init -u git://gitorious.org/replicant/manifest.git -b replicant-2.2 |
||
17 | ../bin/repo sync |
||
18 | }}} |
||
19 | |||
20 | == Each time you want to build replicant 2.2 == |
||
21 | {{{ |
||
22 | cd ~/replicant-2.2 |
||
23 | source build/envsetup.sh |
||
24 | export ANDROID_JAVA_HOME=$JAVA_HOME |
||
25 | lunch cyanogen_dream_sapphire-eng |
||
26 | make |
||
27 | }}} |