drivers/spi/CMakeLists.txt: Aligned Cmake with Make
Add iCE40 driver #12012 Signed-off-by: simbit18 <simbit18@gmail.com>
This commit is contained in:
parent
4ed174a7e0
commit
95f1cf4748
1 changed files with 4 additions and 0 deletions
|
|
@ -31,6 +31,10 @@ if(CONFIG_SPI)
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(CONFIG_SPI_ICE40)
|
||||||
|
list(APPEND SRCS ice40.c)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(CONFIG_SPI_SLAVE_DRIVER)
|
if(CONFIG_SPI_SLAVE_DRIVER)
|
||||||
list(APPEND SRCS spi_slave_driver.c)
|
list(APPEND SRCS spi_slave_driver.c)
|
||||||
endif()
|
endif()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue