About building kernel modules automatically, On linux how about using dkms (http://linux.dell.com/projects.shtml). All that needs to be done to write a config file that would be used by dkms to automatically rebuild and install the newly built module or even repackage a deb or rpm package....