According to the compilation process in the book, there is never a reminder of the need to use the DEPMOD directive, nor does it indicate the need to use make DEP, and many times, if we do not search for detailed information, I am afraid we will not compile the kernel correctly.
Ask the following questions:
If you need to regenerate the. config file by using make Menuconfig to remove some of the compiled modules, make DEP with the following directives
Result: Warning:this is not unnesscery present in the process of execution
In fact, we still refer to the config file in the original system, the configuration file is placed in/boot/config-' Uname-r ',
According to the information provided by Redhat website, in general, we modify the kernel version, in the case of Extended version, add its own version number, such as Extion_version=e12.
One thing that needs to be explained is why MKINITRD is not packaged/lib/module the following modules:
Make Mrproper
Edit Makefile File
Change the extraversion= to a text that has your own characteristics, such as:
Extraversion=-10me
Make menuconfig or make Xconfig
Make DEP
Make Bzimage
Make modules
Make Modules_install
CP System.map/boot/system.map-2.4.7-10me
CP Arch/i386/boot/bzimage/boot/vmlinuz-2.4.7-10me
New-kernel-pkg--install--mkinitrd--depmod 2.4.7-10me
Excerpt from: http://www.jb51.net/LINUXjishu/10882.html
Depmod-a-version the use of compiling in the kernel source code