I'm using hardware that requires a driver to be built which is not present in the kernel source tree, i.e. not "part of" linux. Currently I'm finding it necessary to rebuild and install the driver manually every time I start using a new kernel version. Is there a way to streamline this process?
For automatically recompiling kernel modules after a kernel update, i know of two options:
write your own script
For inspiration i refer to this very old post or this one where some one solved it for SUSE by a script
Use Dynamic Kernel Module Suppor (DKMS)
I refer to short description wiki page and ubuntu community page HOWTO for DKMS