> The ftp module is in kernel 3, but not in kernel 4 for which the patch was 
> built.
> Is there a way to include modules conditionally dependent on the kernel 
> version?
sure, you can either exclude .ko files from the package/AUTOLOAD (see
[0]) or make a whole package depend on specific kernel versions (see
[1]).


[0] 
https://dev.openwrt.org/browser/trunk/package/kernel/linux/modules/crypto.mk#L111
[1] 
https://dev.openwrt.org/browser/trunk/package/kernel/linux/modules/crypto.mk#L30
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to