Some of this information is from:
Http://www.cnblogs.com/xiaocen/p/3717993.html
Download the Code First:
https://www.kernel.org/pub/linux/kernel/v4.x/
Unzip to/USR/SRC (it seems that the compilation kernel must be here)
Enter/USR/SRC
Perform:
LN-SV linux-3.13.2 Linux
Enter/usr/scr/linux-4.9.9/
The following configurations:
Not recommended to choose the first one, a long time.
Make config: Traverse to select the kernel features to compile
Make Allyesconfig: Configure all the kernel features that can be compiled
Make Allnoconfig: Not all do not compile, but can choose to answer no, only necessary are selected as Yes.
Make Menuconfig: This is to open a File window selection menu, this command needs to open the window is larger than 80 characters width, open can be in the inside to select the item to be compiled
The following two can be selected with the mouse point, more convenient OH:
Make Kconfig (KDE desktop environment, and the QT development environment is installed)
Make Gconfig (GNOME desktop environment, and install GTK dev environment)
Menuconfig: Using this command, if it is a new installation of the system will be installed GCC and ncurses-devel These two packages can open, and then choose on it, and this method is also used more:
I chose make allnoconfig.
Apt Install BC
Make
Make module--My two steps failed.
Make Module_install--but it seems you can skip
Make install
Compiling Linux-4.9.9 kernel process records