ROM Android: Ridon

From OnnoWiki
Revision as of 05:58, 12 May 2015 by Onnowpurbo (talk | contribs) (New page: Preparing Read https://github.com/ridon/ridon/wiki/Installing-Dependencies Setup: Initialize work directory mkdir ridon cd ridon export RIDON=$(pwd) Get repo tool cd $RIDON mkd...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Preparing

Read https://github.com/ridon/ridon/wiki/Installing-Dependencies

Setup: Initialize work directory

mkdir ridon
cd ridon
export RIDON=$(pwd)

Get repo tool

cd $RIDON
mkdir tools
cd tools
wget http://commondatastorage.googleapis.com/git-repo-downloads/repo
chmod a+x repo
cd $RIDON

Setup source code

cd $RIDON
mkdir ridon-5.0
cd ridon-5.0
../tools/repo init --depth 1 -u git://github.com/ridon/ridon.git -b ridon-5.0

Sync source code

cd $RIDON
cd ridon-5.0
$RIDON/tools/repo sync
vendor/ridon/get-prebuilts
prebuilts/misc/linux-x86/ccache/ccache -M 50G

Build preparation

export ANDROID_JAVA_HOME=$JAVA_HOME
export CCACHE=1
cd $RIDON/ridon-5.0
. build/envsetup.sh

Then you can build for the devices listed in the menu shown on the top right of this page.




Referensi