Hao Shen
Hao Shen

Reputation: 2735

how to get the linux kernel directory from http://source.android.com?

The default download seems not to contain the kernel directory while use the prebuilt linux kernel image. Does any one know how to get the linux kernel directory? I have googled and tried some methods but they did not work.

Upvotes: 0

Views: 506

Answers (2)

Reno
Reno

Reputation: 33792

You know how to use git right?

Here : https://android.googlesource.com/

Upvotes: 1

digitalbrainstorm
digitalbrainstorm

Reputation: 21

Go to https://android.googlesource.com/ as the repositories moved away from kernel.org to Google's own servers (~2011).

There are a couple of repositories named "kernel/*". Each one is for a different device. For instance, the one used in the emulator is the "kernel/goldfish".

Once you click in any one of them, at the top of the repository page you'll get a "git clone" command to download them individually.

Upvotes: 0

Related Questions