debian_build_kernel
This is an old revision of the document!
Grab Kernel
Get the one you desire from https://www.kernel.org/
wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.10.65.tar.xz tar xvf linux-5.10.65.tar.xz cd linux-5.10.65
Grab Packages
apt-get install bc libncurses-dev bzip2 make build-essential libelf-dev libssl-dev bison flex rsync liblz4-tool
Run localmodconfig
Hold enter until you are done
make localmodconfig
Customization of the Kernel
make menuconfig
Network
Device Drivers ⇒ Network device support ⇒ VXLAN, Wireguard
Network Support ⇒ Network options ⇒ TCP: advance congestion control ⇒ BBR
Network Support ⇒ Network options ⇒ Network packet filtering framework (Netfilter) (e), QoS (Q)
Performance
General setup ⇒ Timers subsystem ⇒ High Resolution Timer Support, Timer tick handling
Processor type and features ⇒ Preemption Model, Timer frequency
Power management and ACPI options ⇒ CPU Frequency scaling ⇒ governor
Build the Kernel
make -j8 deb-pkg LOCALVERSION=-rt KDEB_PKGVERSION=1
debian_build_kernel.1631789025.txt.gz · Last modified: 2021/11/25 22:42 (external edit)