From 58b35c9abd3aee9b0a79ec69db778c7bad45aee2 Mon Sep 17 00:00:00 2001 From: iabdalkader Date: Wed, 8 Jun 2022 16:36:06 +0200 Subject: [PATCH] extmod/extmod.cmake: Fix hard-coded mbedtls config file path. * The mbedtls config file path is hard-coded to the config file in the stm32 port. Any port using this cmake fragment is not actually using its own config file. --- extmod/extmod.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extmod/extmod.cmake b/extmod/extmod.cmake index 862743c1e7..551dec714c 100644 --- a/extmod/extmod.cmake +++ b/extmod/extmod.cmake @@ -184,7 +184,7 @@ if(MICROPY_SSL_MBEDTLS) ) target_compile_definitions(micropy_lib_mbedtls INTERFACE - MBEDTLS_CONFIG_FILE="ports/stm32/mbedtls/mbedtls_config.h" + MBEDTLS_CONFIG_FILE="${MICROPY_PORT_DIR}/mbedtls/mbedtls_config.h" ) list(APPEND MICROPY_INC_CORE