git clone https://github.com/ps5-linux/ps5-linux-patches git clone https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git cd linux git checkout "tags/v$(grep -m1 "^# Linux/" ../ps5-linux-patches/.config | awk '{print $3}')" git apply ../ps5-linux-patches/linux.patch cp ../ps5-linux-patches/.config .config make -j$(nproc)
In the same linux folder after compilation, do:
linux
sudo make modules_install sudo make install