我在哪里可以得到的Android 4.0(冰淇淋三明治)的的内核的源$ C $ C?
虽然这可能是一个愚蠢的问题,有些人问过,我似乎无法在任何地方找到一个合适的答案的原因:
谷歌决定将是非常有用的和重定向 android.kernel.org
到 http://source.android.com/source /downloading.html
,其中包括安卓除了内核的每一个部分。 我不明白背后的逻辑。的
git的克隆https://android.googlesource.com/kernel/common.git
做奇怪的事情,并创建了一个庞大的的(600 MB +) 的 git的
文件夹中,而无需创建源代码树。我不举两个妈对混帐回购协议,我只需要在源代码树
所有在GitHub上的内核叉可怕的是过时的。
解决方案观看Android源$ C $ C托管在 Github上
Where can I get the Android 4.0 (Ice Cream Sandwich) kernel source code?
While this might be a stupid question that some people have asked before, I can't seem to find a suitable answer anywhere because:
Google decided to be really useful and redirect android.kernel.org
to http://source.android.com/source/downloading.html
, which includes every single part of Android apart from the kernel. I do not understand the logic behind that.
git clone https://android.googlesource.com/kernel/common.git
does something weird and creates a massive (600 MB+) .git
folder without creating the source tree. I don't give two shits about the git repo, I just need the source tree.
All the kernel forks on GitHub are horribly outdated.
解决方案Watch the android source code hosted on Github.