开发者

Compile a small subset of the linux kernel (i.e. just a few files)

I'm trying to extract specific pieces of code from the linux kernel. I specifically want to compile only a few files, and obviously need to ensure any references and dependencies to other files are included for the compi开发者_运维百科le to work.


make fs/read_write.o
make fs/btrfs/

For anything else, like .ko files, you need to have System.map available first, which means having built the core kernel image first (vmlinux).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜