Difference between revisions of "Android Kernel Download"

From eLinux.org
Jump to: navigation, search
Line 17: Line 17:
 
command, you do NOT automatically get a kernel tree included.  (That is, a kernel
 
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
 
git tree is not referenced in the default Android manifest file, when you use
repo following the instructions at http://source.android.com/download
+
repo following the instructions at http://source.android.com/download )
  
 
For more about repo, see http://source.android.com/download/using-repo
 
For more about repo, see http://source.android.com/download/using-repo

Revision as of 13:36, 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