net: openthread: Fix builds with NCP option disabled
In case OPENTHREAD_NCP option is disabled, uart.c platform driver should not be compiled as it misses dependencies. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
This commit is contained in:
parent
adc5e42b75
commit
bd8410cf3c
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ zephyr_library_sources(
|
|||
radio.c
|
||||
settings.c
|
||||
spi.c
|
||||
uart.c
|
||||
)
|
||||
|
||||
zephyr_library_sources_ifdef(CONFIG_OPENTHREAD_NCP uart.c)
|
||||
zephyr_library_sources_ifdef(CONFIG_OPENTHREAD_SHELL shell.c)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue