Building a custom kernel module (ksmbd) for pve-kernel - How to do that?

shh

Member
Aug 9, 2021
6
0
21
Hello,
I'd like to build a custom kernel module for the PVEs standard kernel.
I.e. ksmbd(-next) (and probably my custom patches). What should be quite simple, because changes of https://github.com/namjaejeon/ksmbd (--branch=next) would be rather small, encapsulated changes to the kernel module.

How would you do this?
I currently don't find a starting point for building Proxmox kernel modules... did I miss a HOWTO?

Best regards...
 
Last edited: