drivers/net/CMakeLists.txt: Aligned Cmake with Make

Add KSZ9477 driver #10503

Signed-off-by: simbit18 <simbit18@gmail.com>
This commit is contained in:
simbit18 2025-08-26 14:35:49 +02:00 committed by Xiang Xiao
parent f4142626b9
commit aadb929526

View file

@ -81,6 +81,13 @@ if(CONFIG_NET)
list(APPEND SRCS lan9250.c)
endif()
if(CONFIG_NET_KSZ9477)
list(APPEND SRCS ksz9477.c)
if(CONFIG_NET_KSZ9477_I2C)
list(APPEND SRCS ksz9477_i2c.c)
endif()
endif()
if(CONFIG_NET_E1000)
list(APPEND SRCS e1000.c)
endif()