我想从源代码为我的设备构建一个内核,但是我无法找到内核源代码的git repo。Android内核源代码的git仓库在哪里?
所有我发现是这样的:
git://android.git.kernel.org/kernel/common.git
但是,不管它似乎是最近kernel.org做文章后弃用,用git促使该
致命:远程端挂机意外
它们正在移动到什么地方或什么地方?
我想从源代码为我的设备构建一个内核,但是我无法找到内核源代码的git repo。Android内核源代码的git仓库在哪里?
所有我发现是这样的:
git://android.git.kernel.org/kernel/common.git
但是,不管它似乎是最近kernel.org做文章后弃用,用git促使该
致命:远程端挂机意外
它们正在移动到什么地方或什么地方?
什么是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
我不知道如果这是你要找的,但它是值得一试。
As the docs on Android say您必须使用自己的定制工具来处理Git,称为回购。
我指的是Android中使用的'Linux内核'的git repo,而不是Android自己的来源。内核源代码默认不包含在那里。 –
顺便说一下,如果您克隆了文档中提到的https://android.googlesource.com/platform/manifest,您可以看到几个似乎引用其他存储库的XML文件。例如,当它提到name =“platform/build”时,您知道https://android.googlesource.com/platform/build上有一个存储库。但是,内核存储库似乎并没有在那里列出。 – CesarB
谢谢,就是我想要的! –