drivers/net/CMakeLists.txt: Aligned Cmake with Make
Add KSZ9477 driver #10503 Signed-off-by: simbit18 <simbit18@gmail.com>
This commit is contained in:
parent
f4142626b9
commit
aadb929526
1 changed files with 7 additions and 0 deletions
|
|
@ -81,6 +81,13 @@ if(CONFIG_NET)
|
||||||
list(APPEND SRCS lan9250.c)
|
list(APPEND SRCS lan9250.c)
|
||||||
endif()
|
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)
|
if(CONFIG_NET_E1000)
|
||||||
list(APPEND SRCS e1000.c)
|
list(APPEND SRCS e1000.c)
|
||||||
endif()
|
endif()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue