SDKBuild » History » Version 5
Denis 'GNUtoo' Carikli, 04/25/2011 09:46 AM
1 | 5 | Denis 'GNUtoo' Carikli | |
---|---|---|---|
2 | h2. Setup |
||
3 | |||
4 | The setup is the same than for your phone(refer to [[BuildDream|The HTC Dream page]] ) |
||
5 | |||
6 | h2. Each time you want to build replicant 2.2 SDK |
||
7 | |||
8 | 1 | Denis 'GNUtoo' Carikli | Open a new shell and do: |
9 | 5 | Denis 'GNUtoo' Carikli | <pre> |
10 | 1 | Denis 'GNUtoo' Carikli | cd ~/replicant-2.2 |
11 | ../bin/repo sync |
||
12 | source build/envsetup.sh |
||
13 | export ANDROID_JAVA_HOME=$JAVA_HOME |
||
14 | 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 |
||
15 | 5 | Denis 'GNUtoo' Carikli | </pre> |
16 | 3 | Denis 'GNUtoo' Carikli | Note that we don't run the lunch command |