git clone https://github.com/clearlinux-pkgs/linux.git clearlinux-pkgs-linux.git
cd clearlinux-pkgs-linux.git
git checkout -b 4.19.4-664 4.19.4-664
cd ..
git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
cd linux-stable
git checkout -b v4.19.5 v4.19.5
git apply ../clearlinux-pkgs-linux.git/*.patch
cp /usr/lib/kernel/config-4.19.5-665.native .config
vi .config
CONFIG_DRM_I915_LOW_LEVEL_TRACEPOINTS=y
CONFIG_DRM_I915_DEBUG_VBLANK_EVADE=y
make olddefconfig
# for .config: CONFIG_EXTRA_FIRMWARE="i915/kbl_huc_ver02_00_1810.bin i915/kbl_dmc_ver1_04.bin"
sudo cp /usr/lib/firmware/i915/kbl_huc_ver02_00_1810.bin firmware/i915
sudo cp /usr/lib/firmware/i915/kbl_dmc_ver1_04.bin firmware/i915
sudo chown mikesart:mikesart firmware/i915/kbl*.bin
make -j $(nproc) LOCALVERSION=-custom bzImage
make -j $(nproc) LOCALVERSION=-custom modules
make -j $(nproc) LOCALVERSION=-custom modules_install
cp arch/x86/boot/bzImage /boot/EFI/org.clearlinux/mls-4.19.5-custom
vi /boot/loader/entries/mls-4.19.5-custom.conf