What I face is kernel module is missing dependencies for the following libraries. I would like to figure out the depends flow. Please give me some tip.
On my development, for example, I have a wifi driver, let's call it as cypress, which depends on CONFIG_MMC, CONFIG_CFG80211 and CONFIG_RFKILL at kernel part.
So, I enable those options as module and anything is good when try to build it.
At openwrt part, I enable kmod-mmc, kmod-cfg80211 and kmod-rfkill.
Question 1: When I enable kmod-xxx at openwrt, does it mean openwrt will help me copy .ko to rootfs?
Question 2: If we have new kernel module driver, we should add it into modules.mk and enable, openwrt will help me to copy .ko to rootfs?
Question 3: When I enable kmod-rfkill at openwrt and enable CONFIG_RFKILL at kernel, sill have missing rfkill.ko issue, what should I do?
Question 4: Why xt_xxx.ko will be copy to build_dir? Where I can set the rule for my driver?
Please help. Thanks.