Skip to content

How to download source code

renesas edited this page Sep 10, 2012 · 4 revisions

You should have a computer which have Ubuntu installed (Virtual machine is also available, but may be very slow). Ubuntu 12.04 is suggested, for other distributions, It may work, we can not guarantee.

Your computer (Or virtual machine) should include at lease 30GB free hard driver space for Jelly bean (10G for Gingerbread). And 1GB RAM is needed.

Step 1: initialise build environment, please refer to android document nitializing a Build Environment.

Step 2: Download source code: (Some words copied from android.com)

To install, initialize, and configure Repo, follow these steps:

Make sure you have a bin/ directory in your home directory, and that it is included in your path:

$ mkdir ~/bin

$ PATH=~/bin:$PATH

Download the Repo script and ensure it is executable:

$ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo

$ chmod a+x ~/bin/repo

Create an empty directory to hold your working files. If you're using MacOS, this has to be on a case-sensitive filesystem. Give it any name you like: $ mkdir WORKING_DIRECTORY

$ cd WORKING_DIRECTORY

Run repo init to bring down the latest version of Repo with all its most recent bug fixes. You must specify a URL for the manifest, which specifies where the various repositories included in the Android source will be placed within your working directory.

For gingerbread

$ repo init -u git://github.com/Renesas-EMEV2/Renesas-manifest.git -b MyPad

For JellyBean

$ repo init -u git://github.com/Renesas-EMEV2/Renesas-manifest.git -b emev-4.1
Clone this wiki locally