515kernelforFT

TurnToJPG -->


Building 5.15 kernel for ubuntu:

wget https://mirrors.ustc.edu.cn/kernel.org/linux/kernel/v5.x/linux-5.15.168.tar.xz
tar xJvf linux-5.15.168.tar.xz
patch -p1 < ../0001-xxxxxx.patch
sudo apt install git fakeroot build-essential ncurses-dev xz-utils libssl-dev bc flex libelf-dev bison liblz4-tool dwarves
cd linux-5.15.168
mkdir build
cp ~/config_backuprocky8 build/.config
make menuconfig O=./build
make LOCALVERSION="-rain" -j `nproc` O=./build bindeb-pkg

Change to 510:

The same building steps as above.
disable CONFIG_FORTIFY=y, when you want to enable xxx_mac