Welcome to the Linux Foundation Forum!

compile kernel module to many distros and versions best practices

Hi all,
I maintain a device driver (VFS).

For each kernel/distro we support, we compile our sources for that specific kernel/distro.
This means, If i want to support latest redhat 7 3.10.0-1062
I get a redhat machine (or use existing), I download my desired packages, kernel-headers/devel/sources for 3.10.0-1062
Then I compile my code using these headers/sources, if there are changes in kernel headers/sources, I get compilation errors and solve them.

I maintain Suse/Redhat/Ubunto and more different distro and different versions (Suse 11.4, 12.2, 12.3 etc..)
Is there a generic approach to my problem ?

E.g make 1 global machine that can contains all headers/sources for my target kernels ?
Or 1 machine per distro, at the moment I have same Suse 11.4 that contains all kernels that are available for 11.4, but it still require me to have Suse 11.4, 12.2,12.3 machines. Redhat 6, Redhat7.


Sign In or Register to comment.