cd build # grab an appropriate source - 4.14.18 has been most successful wget https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.14.18.tar.gz tar xvf linux-4.14.18.tar.gz cd linux-4.14.18 # grab previous config cp ../config-14.14.18-ejs5 .config patch -p1 < ../sound_click_mini.4.14.18.patch patch -p1 < ../disable_elan.4.14.18.patch # or manually patch for Elan keyboard/mouse vi drivers/hid/hid-core.c patch -p1 < ../rtl8723bs_bt_rfkill.4.14.18.patch # or manually patch for bluetooth vi net/rfkill/rfkill-gpio.c # check for new options - added atom camera make oldconfig # manually add extra version eg. -ejsolutions vi Makefile # get ready to build make clean # Use 14 processors for the build! :-) fakeroot make --jobs 14 deb-pkg cd .. # make filenames shorter mv linux-headers-4.14.18-ejsolutions_4.14.18-ejsolutions-5_amd64.deb linux-headers-4.14.18-ejsolutions-5_amd64.deb mv linux-image-4.14.18-ejsolutions_4.14.18-ejsolutions-5_amd64.deb linux-image-4.14.18-ejsolutions-5_amd64.deb # copy new config cp linux-4.14.18/.config config-4.14.18-ejs5 # go to isorespin directory to build an ISO