Build custom Linux kernel

From MK Wiki EN
Jump to navigation Jump to search

In .config, CONFIG_LOCALVERSION tells the name of the kernel that is displayed when "uname -a" is issued. Example:

CONFIG_LOCALVERSION="20160123"

Commands to build using 4 CPU cores using currently active modules:

make localmodconfig
make -j 4 bzImage modules
make modules_install install