How to build custom kmod?
Posted: Fri Aug 30, 2024 8:19 am
I've recently got R6S and would like to build amneziawg kmod package.
As I understand FriendlyWRT uses custom kernel that is build aside from other packages, in the mean time all kmod files depends on openwrt kernel package and simple build via make feed/package/compile leads to broken dependency.
Even if I extract *.ko file from ipk it wound be loaded due to broken version magic.
And in the mean time I'm able to use opkg install kmod-some-package to install kernel modules.
So what's the proper way to build kmod package for friendlywrt?
As I understand FriendlyWRT uses custom kernel that is build aside from other packages, in the mean time all kmod files depends on openwrt kernel package and simple build via make feed/package/compile leads to broken dependency.
Even if I extract *.ko file from ipk it wound be loaded due to broken version magic.
And in the mean time I'm able to use opkg install kmod-some-package to install kernel modules.
So what's the proper way to build kmod package for friendlywrt?