I keep working with banana pi bpi-r2. Successfully launched a openwrt snapshot of it. I want to add a hw-nat kernel module. I have a patch that I put in target/linux/mediatek/patches-4.19 . I also created a file in package / kernel / linux / modules of the following content
TITLE:= MediaTek's hardware NAT module
MediaTek's hardware NAT driver.
$(eval $(call KernelPackage,nat-hw-mtk))
This added a menu item "kmod-nat-hw-mtk" to the kernel module configuration.
$ make target/linux/compile
The patch is applied successfully. Everything is built without errors, but there is no file mkthnat.ko .
What did I not do?