Skip to content

Commit 1a7f959

Browse files
ioannisggalak
authored andcommitted
modules: mbedtls: updates to reflect module directory restructuring
Updates in CMakeLists.txt to reflect the restructuring in the module directory. This also bumps mbetls version to 2.26.0. Signed-off-by: Ioannis Glaropoulos <[email protected]>
1 parent 1eccc71 commit 1a7f959

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/mbedtls/CMakeLists.txt

Lines changed: 3 additions & 3 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}/include
10+
${ZEPHYR_CURRENT_MODULE_DIR}/mbedtls/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}/library/*.c
18+
${ZEPHYR_CURRENT_MODULE_DIR}/mbedtls/library/*.c
1919
)
2020

2121
zephyr_library_sources(
@@ -28,7 +28,7 @@ if(CONFIG_ARCH_POSIX AND CONFIG_ASAN AND NOT CONFIG_64BIT)
2828
# i386 assembly code used in MBEDTLS does not compile with size optimization
2929
# if address sanitizer is enabled, as such switch default optimization level
3030
# to speed
31-
set_property(SOURCE ${ZEPHYR_CURRENT_MODULE_DIR}/library/bignum.c APPEND PROPERTY COMPILE_OPTIONS
31+
set_property(SOURCE ${ZEPHYR_CURRENT_MODULE_DIR}/mbedtls/library/bignum.c APPEND PROPERTY COMPILE_OPTIONS
3232
"${OPTIMIZE_FOR_SPEED_FLAG}")
3333
endif ()
3434

0 commit comments

Comments
 (0)