Hi can you tell me how to do this with Ubuntu?
Thanks
Worked it out got this far so far will update when finished
Some where to work
mkdir Kernel4-17-14
cd Kernel4-17-14/
Get kernel
git clone git://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mainline-crack v4.17.1
Get ubuntu patches
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.17.14/0001-base-packaging.patc
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.17.14/0002-UBUNTU-SAUCE-add-vmlinux.strip-to-BOOT_TARGETS1-on-p.patch
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.17.14/0003-UBUNTU-SAUCE-tools-hv-lsvmbus-add-manual-page.patch
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.17.14/0004-UBUNTU-SAUCE-no-up-disable-pie-when-gcc-has-it-enabl.patch
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.17.14/0005-debian-changelog.patch
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.17.14/0006-configs-based-on-Ubuntu-4.17.0-8.9.patch
Apply patches in order
cd v4.17.14/
patch -p1 < /root/Kernel4-17-14/0001-base-packaging.patch
patch -p1 < /root/Kernel4-17-14/0002-UBUNTU-SAUCE-add-vmlinux.strip-to-BOOT_TARGETS1-on-p.patch
patch -p1 < /root/Kernel4-17-14/0003-UBUNTU-SAUCE-tools-hv-lsvmbus-add-manual-page.patch
patch -p1 < /root/Kernel4-17-14/0004-UBUNTU-SAUCE-no-up-disable-pie-when-gcc-has-it-enabl.patch
patch -p1 < /root/Kernel4-17-14/0005-debian-changelog.patch
patch -p1 < /root/Kernel4-17-14/0006-configs-based-on-Ubuntu-4.17.0-8.9.patch
cp /boot/config-uname -r
.config
nano .config
locate (ctrl+w) ‘CONFIG_CRYPTO_DEV_SP_PSP’ set to =n
locate (ctrl+w) ‘CONFIG_KVM_AMD’ set to =y
Fixed some errors with Makefile.lib:196: recipe for target ‘scripts/kconfig/zconf.tab.c’ failed
By doing apt-get install bison flex