简体   繁体   English

克隆Android的tegra内核,它是空的吗?

[英]Cloning Android's tegra kernel, it's empty?

I followed the steps on http://source.android.com/source/building-kernels.html in order to look at the kernel sources. 我查看了http://source.android.com/source/building-kernels.html上的步骤,以查看内核源代码。

$ git clone https://android.googlesource.com/kernel/tegra.git
Cloning into 'tegra'...
remote: Total 2219519 (delta 1857594), reused 2219519 (delta 1857594)
Receiving objects: 100% (2219519/2219519), 436.09 MiB | 3.08 MiB/s, done.
Resolving deltas: 100% (1857594/1857594), done.

Now, this is very strange... the project is empty 现在,这很奇怪...项目为

git log shows the following: git log显示以下内容:

$ git log
commit a89a700fada233480530e4741cca876cfdd4eb9c
Author: Jean-Baptiste Queru <jbq@google.com>
Date:   Tue Nov 15 14:46:15 2011 -0800

    empty commit

what's going on, where are the sources ? 这是怎么回事,来源在哪里?

OK, I'm answering my own question. 好,我在回答我自己的问题。 Apparently, the main branch is empty, and the contents is available on other branches. 显然,主分支为空, 其他分支上内容均可用。

git branch -a

shows few branches. 显示很少的分支。 I checked-out one of them and I got to the code. 我签出了其中一个,然后进入了代码。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM