Create cscope database for linux kernel source code

I often use cscope to browse linux kernel source code in Vim. It is very convenient.

make cscope

We can use make cscope to generate cscope database for linux kernel source code.

But if we only use make cscope, we can’t use cscope database in Vim. Because in cscope.files, the file path is relative path.

We should use absolute file path. So we need to add one parameter O=.

make O=. cscope