I’m not a real expert in building and developing kernel modules, but for some applications I was asked to do that at my job.
On my host system I have the 6.1 kernel with a Debian distro and I have different target systems with different kernel version (a 6.0 and a 5.10).
To compile the module out-of-tree I need only the headers of these two kernels, right? But I find that method a little bit annoying when the target headers are not available for your host system. So there is a way to solve this problem? Or it is better to have a virtualize environment for each target system? With the use of container it is possible to solve this problem? Thanks in advance.
MCT is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.