dkmsというものがあるらしい。
なぜかLinux向けドライバ作成の社内講習とかやらないといけなくなってるんで、チェック。
dkms is a framework which allows kernel modules to be dynamically built for each kernel on your system in a simplified and organized fashion.
↓意訳。
dkmsはそれぞれのシステムのカーネルに対応したカーネルモジュールを、動的にビルドするための簡単で整理されたフレームワークです。