west: add zephyr module

Add needed file to make this a zephyr module.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2019-05-09 08:45:15 -04:00
parent f1486a32c3
commit 1b04981e41
3 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,4 @@
if(CONFIG_MBEDTLS)
zephyr_interface_library_named(mbedTLS)
if(CONFIG_MBEDTLS_BUILTIN)
@ -115,3 +116,4 @@ else()
endif()
target_link_libraries(mbedTLS INTERFACE zephyr_interface)
endif()

View File

@ -53,7 +53,7 @@ config MBEDTLS_CFG_FILE
alternative config.
if MBEDTLS_BUILTIN && MBEDTLS_CFG_FILE = "config-tls-generic.h"
source "ext/lib/crypto/mbedtls/Kconfig.tls-generic"
rsource "Kconfig.tls-generic"
endif
config MBEDTLS_SSL_MAX_CONTENT_LEN

3
zephyr/module.yml Normal file
View File

@ -0,0 +1,3 @@
build:
cmake: .
kconfig: Kconfig