openwrt只编译kernel
本想只编译ko, ,结果搜索论坛发现要编译 kernel
https://forum.archive.openwrt.org/viewtopic.php?id=23570
用下面这个命令编译内核:
make target/linux/{clean,compile} V=s
修改 linux-4.4.18/drivers/net/ethernet/realtek/r8169soc.c 后
make target/linux/compile V=s
拷贝到自定义路径下
cp linux-4.4.18/drivers/net/ethernet/realtek/r8169soc.ko files/evideo/
https://www.cnblogs.com/cute/p/16775293.html