Jarek,

Another approach that is interesting is dkms...

http://linux.dell.com/dkms/dkms.html

This can be used to automatically rebuild external
modules after a kernel upgrade.  It requires the
kernel-source to be present.  I'm using this for
some of my in house kernel modules.

--Shane

------------------------------------------------------------------------
Shane Canon                             voice: 510-486-6981
PSDF Project Lead                       fax:   510-486-7520
National Energy Research Scientific
  Computing Center
1 Cyclotron Road Mailstop 943-256
Berkeley, CA 94720                      [log in to unmask]
------------------------------------------------------------------------