zephyr: kconfig: make MBEDTLS_PROMPTLESS depend on MBEDTLS

This addresses compilation error when MBEDTLS module is not present.

Signed-off-by: Xudong Zheng <7pkvm5aw@slicealias.com>
This commit is contained in:
Xudong Zheng 2023-12-26 21:28:38 -05:00 committed by Jamie
parent 12e2b6398b
commit 8cee355095
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ config BOOT_USE_TINYCRYPT
# When building for ECDSA, we use our own copy of mbedTLS, so the
# Zephyr one must not be enabled or the MBEDTLS_CONFIG_FILE macros
# will collide.
select MBEDTLS_PROMPTLESS
select MBEDTLS_PROMPTLESS if ZEPHYR_MBEDTLS_MODULE
help
Use TinyCrypt for crypto primitives.