1. download kernel(5.5.9)
mirror:https://mirrors.tuna.tsinghua.edu.cn/kernel/v5.x/
2. install other soft soft-devel...
a. open-ssl, ncurses, ncurses-devel, bison, bison-devel, flex...
b. new-kernel-pkg(for install kernel(${INSTALLKERNEL}), like as make img/map/vmlinuz)
3. intall kernel
a.make config or cmd(cp /boot/config-$(uname -r) .config)
b.make menuconfig/make gconfig/make xconfig, make defconfig/make allyesconfig/make allnoconfig
c. make -j6 / make -j4
d. make modules
e. make modules_install
f. make install
d.grub2-mkconfig -o /boot/grub2/grub.cfg
原文:https://www.cnblogs.com/sciapex/p/12489841.html