Make modules for existed linux kernel

Which system do you use? Android, Ubuntu, OOWOW or others?

Ubuntu 22, OOWOW

Which version of system do you use? Khadas official images, self built images, or others?

Official images

Please describe your issue below:

I have kernel
I can see that it doesn’t have medson_cpufreq module.
How I can build the module for this kernel ?
I can see that I should use Fenix for this. I have 1.5.2 Fenix in my card. I’ve go to looks like suitable kernel by
git chockout khadas-vims-5.15.y

After that I try to build the kernel and modules by
make kernel-config

And I can see that selected kernel is 5.4 version

So, how I can switch selected kernel to 5.15 and build modules for it ?

Just update Fenix to latest version and try again.

eh, ok.
I thought that we have another way too.
Thanks. Will try.