Project

General

Profile

Actions

HTCDreamBuild » History » Revision 3

« Previous | Revision 3/27 (diff) | Next »
Denis 'GNUtoo' Carikli, 11/04/2010 08:11 PM


Warning
Do not build as root,always build as user.
Setup
Get and install the repo tool {{{
mkdir bin
cd bin
wget http://android.git.kernel.org/repo
chmod a+x repo
cd ..
}}}
Get replicant 2.2 {{{
mkdir replicant-2.2
cd replicant-2.2
../bin/repo init -u git://gitorious.org/replicant/manifest.git -b replicant-2.2
../bin/repo sync
}}} Each time you want to build replicant 2.2 {{{
cd ~/replicant-2.2
../bin/repo sync
source build/envsetup.sh
export ANDROID_JAVA_HOME=$JAVA_HOME
lunch cyanogen_dream_sapphire-eng
make -j$(echo "$(grep 'processor' /proc/cpuinfo | wc -l ) + 1" | bc)
}}}
Note that make accept arguments like -j5 or -j9

Updated by Denis 'GNUtoo' Carikli over 13 years ago · 3 revisions

Also available in: PDF HTML TXT