详细解析Linux内核的主要配置选项,详细解析 Linux内核的主要配置选项
【 tulaoshi.com - Linux 】
配置内核的命令是:
# make config 文本配置方式
# make menuconfig 菜单配置方式
# make xconfig 图形界面配置方式
我们可以采用任何一个命令配置内核,一般推荐使用make menuconfig来配置内核。
一.代码成熟度选项
Code maturity level options ---[*] Prompt for development and/or incomplete code/drivers [*] Select only drivers expected to compile cleanly
在内核中包含了一些不成熟的代码和功能,如果我们想使用这些功能,想打开相关的配置选项,就必需打开这一选项。
二.通用设置选项
General setup ---() Local version - append to kernel release[*] Automatically append version information to the version string[*] Support for paging of anonymous memory (swap)[*] System V IPC[*] POSIX Message Queues[*] BSD Process Accounting[*] BSD Process Accounting version 3 file format[*] Sysctl support[ ] Auditing support[*] Support for hot-pluggable devices[*] Kernel Userspace Events[*] Kernel .config support[*] Enable access to .config through /proc/config.gz() Initramfs source file(s)[*] Configure standard kernel features (for small systems) --- --- Configure standard kernel features (for small systems) [ ] Load all symbols for debugging/kksymoops [ ] Do an extra kallsyms pass [ ] Enable support for prinlk [ ] BUG()support [ ] Enable full-sinzed data structures for core [*] Enable futex support [*] Enable eventpoll support [*] Optimize for size [*] Use full shmem filesystem (0) Function alignment (0) Label alignment (0) Loop alignment (0) Jump alignment
(本文来源于图老师网站,更多请访问http://www.tulaoshi.com/linux/)
[1] [2] [3] [4]
(本文来源于图老师网站,更多请访问http://www.tulaoshi.com/linux/)来源:http://www.tulaoshi.com/n/20160129/1501987.html
看过《详细解析Linux内核的主要配置选项》的人还看了以下文章 更多>>