本文以Gentoo的2.6.10-r6的內核為例,講述了如何配置、編譯2.6版本的內核。
首先對內核進行菜單配置,
# cd /usr/src/linux
# make menuconfig
進入圖形界面的內核配置。
代碼成熟度選項,
Code maturity level options --->
[*] Prompt for development and/or incomplete code/drivers
[*] Select only drivers expected to compile cleanly
打開使用開發中、不完全的代碼/驅動會讓內核配置多出很多選項,由于我們需要使用一些正在開發中的功能,因此必需打開這一選項。