Difference between revisions of "Android Kernel Download"

From eLinux.org
Jump to: navigation, search
(Created page with 'The main Google repository with Android source code is at: http://android.git.kernel.org/ There are (as of September 2009) 4 main separate kernel repositories at that site: * co…')
 
Line 8: Line 8:
  
 
To download one of these and use it directly, you can use git.
 
To download one of these and use it directly, you can use git.
 +
For example:
 +
git clone git://android.git.kernel.org/kernel/common.git
  
 
To add one of these to your overall Android repository scheme, you add the appropriate kernel repository
 
To add one of these to your overall Android repository scheme, you add the appropriate kernel repository

Revision as of 20:32, 2 September 2009

The main Google repository with Android source code is at: http://android.git.kernel.org/

There are (as of September 2009) 4 main separate kernel repositories at that site:

  • common
  • experimental
  • msm
  • omap

To download one of these and use it directly, you can use git. For example:

git clone git://android.git.kernel.org/kernel/common.git

To add one of these to your overall Android repository scheme, you add the appropriate kernel repository to your local_manifest.xml file. (???)

Note that when you download the rest of the Android source code, using the 'repo' command, you do NOT automatically get a kernel tree included. (That is, a kernel git tree is not referenced in the default Android manifest file, when you use repo following the instructions at http://source.android.com/download

For more about repo, see http://source.android.com/download/using-repo