https://www.kernel.org/pub/linux/kernel/
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
linux-5.4.tar.xz
cd linux-5.4
export ARCH=x86
make x86_64_defconfig
make menuconfig
Kernel hacking --->
make -j4
error: Your display is too small to run Menuconfig!
It must be at least 19 lines by 80 columns.
解决:把终端窗口最大化
error: fatal error: gelf.h: No such file or directory
解决:sudo apt-get install libelf-dev