android - Android内核源代码的git repo在哪里?

标签 android linux-kernel android-source

我想从源代码为我的设备构建内核,但是我找不到内核源代码的 git 存储库。

我只找到了这个:

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

但是在最近 kernel.org 大惊小怪之后它似乎被弃用了,git 提示

fatal: The remote end hung up unexpectedly

他们是要搬到某个地方还是别处?

最佳答案

git://android.git.kernel.org/ 中的内容现在可以在 https://android.googlesource.com/ 中找到.

我在你的 URL 中做了替换,结果是这样的:

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

我不知道这是否是您要找的,但值得一看。

关于android - Android内核源代码的git repo在哪里?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8110867/

相关文章:

Android - 避免按后退按钮时停止服务

android - Android 上的 ZXing - 解码性能极慢

c - 在 make_request 中使用什么样的自旋锁?

Android AOSP——android源码中扫描间隔和扫描窗口的定义

android - 无法在 Android 源文件中触发断点

android - 按下时按钮背景更改布局

Android 如何从双卡手机获取电话号码

在运行时检查 Linux 内核配置

assembly - 在汇编器中编写 x86_64 linux 内核模块

android - 使用 repo 同步 android 源时出现 UnicodeDecodeError