Skip to content

Commit 1491551

Browse files
d3zd3zgalak
authored andcommitted
modules: Allow for Mbed TLS module to match upstream
Use the Mbed TLS module, expecting the upstream directory layout rather than the nested directory we've been using before. Signed-off-by: David Brown <[email protected]>
1 parent b3abe11 commit 1491551

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

modules/mbedtls/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ if(CONFIG_MBEDTLS_BUILTIN)
77
)
88

99
target_include_directories(mbedTLS INTERFACE
10-
${ZEPHYR_CURRENT_MODULE_DIR}/mbedtls/include
10+
${ZEPHYR_CURRENT_MODULE_DIR}/include
1111
configs
1212
)
1313

1414
zephyr_library()
1515

1616
file(GLOB
1717
mbedtls_sources # This is an output parameter
18-
${ZEPHYR_CURRENT_MODULE_DIR}/mbedtls/library/*.c
18+
${ZEPHYR_CURRENT_MODULE_DIR}/library/*.c
1919
)
2020

2121
zephyr_library_sources(

modules/trusted-firmware-m/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ if (CONFIG_BUILD_WITH_TFM)
227227
${TFM_CMAKE_ARGS}
228228
$<GENEX_EVAL:$<TARGET_PROPERTY:zephyr_property_target,TFM_CMAKE_OPTIONS>>
229229
-DTFM_TEST_REPO_PATH=${ZEPHYR_TRUSTED_FIRMWARE_M_MODULE_DIR}/tf-m-tests
230-
-DMBEDCRYPTO_PATH=$<IF:$<BOOL:$<TARGET_PROPERTY:zephyr_property_target,TFM_MBEDCRYPTO_PATH>>,$<TARGET_PROPERTY:zephyr_property_target,TFM_MBEDCRYPTO_PATH>,${ZEPHYR_MBEDTLS_MODULE_DIR}/mbedtls>
230+
-DMBEDCRYPTO_PATH=$<IF:$<BOOL:$<TARGET_PROPERTY:zephyr_property_target,TFM_MBEDCRYPTO_PATH>>,$<TARGET_PROPERTY:zephyr_property_target,TFM_MBEDCRYPTO_PATH>,${ZEPHYR_MBEDTLS_MODULE_DIR}>
231231
-DPSA_ARCH_TESTS_PATH=${ZEPHYR_TRUSTED_FIRMWARE_M_MODULE_DIR}/psa-arch-tests
232232
${ZEPHYR_TRUSTED_FIRMWARE_M_MODULE_DIR}/trusted-firmware-m
233233
WORKING_DIRECTORY ${TFM_BINARY_DIR}

0 commit comments

Comments
 (0)