net: openThread: Fix MTD build

This patch fix the problem when the user select to use the MTD
in OpenThread configuration

Signed-off-by: Ramon Ribeiro <rhpr@cesar.org.br>
This commit is contained in:
Ramon Ribeiro 2018-07-09 10:39:06 -03:00 committed by Jukka Rissanen
parent a07d98a62f
commit a9c684c6e6

View file

@ -217,7 +217,7 @@ if(CONFIG_OPENTHREAD_FTD)
set(cli_lib openthread-cli-ftd)
elseif(CONFIG_OPENTHREAD_MTD)
list(APPEND ot_libs openthread-mtd)
set(cli_lib openthread-cli-ftd)
set(cli_lib openthread-cli-mtd)
endif()
if(CONFIG_OPENTHREAD_SHELL)