Where is the git repo of Android's kernel source?

谁说胖子不能爱 提交于 2019-12-04 11:40:19
CesarB

What was at git://android.git.kernel.org/ can now be found at https://android.googlesource.com/.

I did the replacement in your URL, and this is the result:

$ git ls-remote https://android.googlesource.com/kernel/common.git
844e64ac186e89d7721bcf6d98cbbce8e1002839    refs/heads/android-2.6.39
0d8f32b7e8e99f593d7d7ff1afac4e6320e1d5ab    refs/heads/android-3.0

I do not know if this is what you were looking for, but it is worth a look.

As the docs on Android say you must use their own custom tool for handling Git called repo.

  1. You need to make a directory where your repositories will be installed.
  2. curl and chmod the shell script
  3. repo sync # this will take a lot of time
  4. source build/envsetup.sh
  5. lunch
  6. make -jN # where N is the number of cpus * the number of cores per cpu you have * 1.5
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!