SDKBuild » History » Version 6
Paul Kocialkowski, 02/04/2012 10:32 PM
1 | 5 | Denis 'GNUtoo' Carikli | h2. Setup |
---|---|---|---|
2 | 1 | Denis 'GNUtoo' Carikli | |
3 | 6 | Paul Kocialkowski | The setup is the same than for your phone(refer to [[BuildHTCDream|The HTC Dream page]] ) |
4 | 5 | Denis 'GNUtoo' Carikli | |
5 | h2. Each time you want to build replicant 2.2 SDK |
||
6 | |||
7 | 1 | Denis 'GNUtoo' Carikli | Open a new shell and do: |
8 | 5 | Denis 'GNUtoo' Carikli | <pre> |
9 | 1 | Denis 'GNUtoo' Carikli | cd ~/replicant-2.2 |
10 | ../bin/repo sync |
||
11 | source build/envsetup.sh |
||
12 | export ANDROID_JAVA_HOME=$JAVA_HOME |
||
13 | make -j$(echo "$(grep 'processor' /proc/cpuinfo | wc -l ) + 1" | bc) sdk #uses arguments like -j9 to speed up build in case of multi-core cpu |
||
14 | 5 | Denis 'GNUtoo' Carikli | </pre> |
15 | 3 | Denis 'GNUtoo' Carikli | Note that we don't run the lunch command |