Hello. I am using clear Openwrt 23.05.5 source.
I am not a new in Openwrt, but I am struggling for building rtl8367 kernel pack, that is located in:
target/linux/mediatek/files/driver/net/phy/rtk
path.
In modules.builtin file I see:
kernel/drivers/net/phy/rtk/rtl8367s_gsw.ko
And in Makefile:
obj-$(CONFIG_RTL8367S_GSW) += rtl8367s_gsw.o
rtl8367s_gsw-objs := rtl8367s_mdio.o rtl8367s_dbg.o
ifeq ($(CONFIG_SWCONFIG),y)
rtl8367s_gsw-objs += rtl8367s.o
endif
CONFIG_RTL8367S_GSW=y in config file. I expect to get rtl8367s_gsw.ko in output. In build directory I see that rtl8367s_mdio.o
and rtl8367s_dbg.o
are compiled, but I cannot find rtl8367s_gsw.o
or rtl8367s_gsw.ko
anywhere.
Please, help. What is wrong? How can I get the valid rtl8367s_gsw.ko file?
Thanks.