Android源码(kernel)下载,Done!

最终结果共享地址:http://pan.baidu.com/s/1CE8aq

gaojs@ubuntu:~/bin$ mkdir kernel-common
gaojs@ubuntu:~/bin$ cd kernel-common/
gaojs@ubuntu:~/bin/kernel-common$ git clone https://android.googlesource.com/kernel/common.git
Cloning into 'common'...
remote: Sending approximately 716.83 MiB ...
remote: Counting objects: 74655, done
remote: Finding sources: 100% (4937/4937)
remote: Getting sizes: 100% (1387/1387)
remote: Compressing objects:  99% (35690/35691)
Receiving objects: 100% (3126423/3126423), 716.21 MiB | 895 KiB/s, done.
remote: Total 3126423 (delta 2606613), reused 3125099 (delta 2606515)
Resolving deltas: 100% (2607016/2607016), done.
gaojs@ubuntu:~/bin/kernel-common$ du -h --max-depth=1
800M ./common
800M .
gaojs@ubuntu:~/bin/kernel-common$ cd common/
gaojs@ubuntu:~/bin/kernel-common/common$ du -h --max-depth=1
800M ./.git
800M .
gaojs@ubuntu:~/bin/kernel-common/common$ git branch -a
* master
  remotes/origin/HEAD -> origin/master
  remotes/origin/android-2.6.39
  remotes/origin/android-3.0
  remotes/origin/android-3.10
  remotes/origin/android-3.10-adf
  remotes/origin/android-3.3
  remotes/origin/android-3.4
  remotes/origin/android-3.4-compat
  remotes/origin/bcmdhd-3.10
  remotes/origin/coupled-cpuidle
  remotes/origin/experimental/android-3.10
  remotes/origin/experimental/android-3.10-rc5
  remotes/origin/experimental/android-3.8
  remotes/origin/experimental/android-3.9
  remotes/origin/experimental/android-3.9-rc2
  remotes/origin/experimental/android-3.9-rc7
  remotes/origin/linux-bcm43xx-2.6.39
  remotes/origin/master

gaojs@ubuntu:~/bin/kernel-common/common$ git checkout remotes/origin/android-3.10
Checking out files: 100% (43119/43119), done.
Note: checking out 'remotes/origin/android-3.10'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at cacc36f... Merge branch 'android-3.10-adf' into android-3.10
gaojs@ubuntu:~/bin/kernel-common/common$ du -h --max-depth=1
2.7M ./mm
126M ./arch
204K ./samples
20K ./android
2.5M ./crypto
804M ./.git
2.2M ./security
26M ./sound
23M ./net
40K ./usr
35M ./fs
5.8M ./kernel
240K ./ipc
216K ./virt
2.1M ./lib
28M ./include
284M ./drivers
5.2M ./tools
912K ./block
2.7M ./scripts
24M ./Documentation
180K ./init
6.0M ./firmware
1.4G .

评论 4
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值