DKMS - Dynamic Kernel Module Support, exists to solve exactly this problem. The goal is that one can take driver code from the latest kernel, and, through the magic of DKMS and its use of the KBuild system, compile those drivers for earlier kernels.
Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds