Generally do_compile in bitbake executes make and generates the binaries. But in case of jool, kernel modules are generated by executing dkms command as in the below link.https://www.jool.mx/en/install.html#:~:text=apt%20install%20tar-,Downloading%20the%20Code,Cloning%20the%20Git%20repository.
user@T:~# /sbin/dkms install jool-4.1.7/
But what i understand from googling is that, dkms cannot be used bitbake.
Is there a way to use dkms in bitbake ? Can anyone let me know I can achieve this ?