Building nvidia-uvm.ko seperately for understanding how Nvidia UVM works

Can I build the nvidia-uvm.ko driver module separately so that I can try to understand how it works by running it with some debug prints? Could I know the steps to do that? I have already installed the kernel headers and sources for my current kernel. I would like to know if there is a easy to way to build only the individual modules without the nvidia-installer.

Just use the runfile installer with option -x to just unpack it. In the subdirectory “kernel” there’s the sources and a Makefile. You’ll then have to modify that to just build the module you want.

It was right in front of me. Thanks for the help. I thought it would be much more convoluted but a simple “make modules” was what I wanted. Thanks again