Build custom Linux kernel: Difference between revisions

From MK Wiki EN
Jump to navigation Jump to search
m (1 revision imported)
 
(No difference)

Latest revision as of 17:19, 28 June 2018

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