Build custom Linux kernel

From MK Wiki EN
Revision as of 17:19, 28 June 2018 by MkWikiEnSysOp (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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